Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
| 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 |
|