bhatanerohan commited on
Commit
c7f4e0f
·
verified ·
1 Parent(s): 15d9505

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def edit_3d_model(edit_prompt: str, transparent_image_path: str) -> str:
170
  full_edit_prompt = f"{edit_prompt}. Keep the background transparent. Maintain image quality and lighting."
171
 
172
  response_edit = client.models.generate_content(
173
- model="gemini-3-pro-image-preview",
174
  contents=[full_edit_prompt, image_part],
175
  )
176
 
 
170
  full_edit_prompt = f"{edit_prompt}. Keep the background transparent. Maintain image quality and lighting."
171
 
172
  response_edit = client.models.generate_content(
173
+ model="gemini-2.5-flash-image",
174
  contents=[full_edit_prompt, image_part],
175
  )
176