Spaces:
Runtime error
Runtime error
Update app/services/image_service.py
Browse files
app/services/image_service.py
CHANGED
|
@@ -189,7 +189,7 @@ def virtual_try_on(
|
|
| 189 |
|
| 190 |
# Make the API call with all collected contents
|
| 191 |
response = genai_client1.models.generate_content(
|
| 192 |
-
model="gemini-2.
|
| 193 |
contents=contents,
|
| 194 |
config=config
|
| 195 |
)
|
|
|
|
| 189 |
|
| 190 |
# Make the API call with all collected contents
|
| 191 |
response = genai_client1.models.generate_content(
|
| 192 |
+
model="gemini-2.5-flash-image", # Ensure this model supports image gen
|
| 193 |
contents=contents,
|
| 194 |
config=config
|
| 195 |
)
|