bhatanerohan commited on
Commit
b455fcd
·
verified ·
1 Parent(s): 617e53c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -261,7 +261,7 @@ def generate_3d_ui(prompt, progress=gr.Progress()):
261
  )
262
 
263
  response_edit = client.models.generate_content(
264
- model="gemini-3-pro-image-preview",
265
  contents=["Remove the background completely, make the background transparent. Preserve the object's shadow for realism.", image_part],
266
  )
267
 
@@ -344,7 +344,7 @@ def edit_3d_ui(edit_prompt, current_image, edit_count, progress=gr.Progress()):
344
  full_edit_prompt = f"{edit_prompt}. Keep the background transparent. Maintain image quality and lighting."
345
 
346
  response_edit = client.models.generate_content(
347
- model="gemini-3-pro-image-preview",
348
  contents=[full_edit_prompt, image_part],
349
  )
350
 
 
261
  )
262
 
263
  response_edit = client.models.generate_content(
264
+ model="gemini-3-pro",
265
  contents=["Remove the background completely, make the background transparent. Preserve the object's shadow for realism.", image_part],
266
  )
267
 
 
344
  full_edit_prompt = f"{edit_prompt}. Keep the background transparent. Maintain image quality and lighting."
345
 
346
  response_edit = client.models.generate_content(
347
+ model="gemini-3-pro",
348
  contents=[full_edit_prompt, image_part],
349
  )
350