Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def generate_3d_model(prompt: str) -> str:
|
|
| 88 |
)
|
| 89 |
|
| 90 |
response_edit = client.models.generate_content(
|
| 91 |
-
model="gemini-3-pro
|
| 92 |
contents=[edit_prompt, image_part],
|
| 93 |
)
|
| 94 |
|
|
@@ -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
|
| 174 |
contents=[full_edit_prompt, image_part],
|
| 175 |
)
|
| 176 |
|
|
|
|
| 88 |
)
|
| 89 |
|
| 90 |
response_edit = client.models.generate_content(
|
| 91 |
+
model="gemini-3-pro",
|
| 92 |
contents=[edit_prompt, image_part],
|
| 93 |
)
|
| 94 |
|
|
|
|
| 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",
|
| 174 |
contents=[full_edit_prompt, image_part],
|
| 175 |
)
|
| 176 |
|