Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -804,7 +804,7 @@ IMPORTANT: Be lenient. If target is 'wand', accept a pen, pencil, chopstick, or
|
|
| 804 |
Return JSON matching the schema."""
|
| 805 |
|
| 806 |
response = client.models.generate_content(
|
| 807 |
-
model="gemini-2.
|
| 808 |
contents=[prompt, types.Part.from_bytes(data=img_bytes, mime_type="image/jpeg")],
|
| 809 |
config=types.GenerateContentConfig(
|
| 810 |
response_mime_type="application/json",
|
|
|
|
| 804 |
Return JSON matching the schema."""
|
| 805 |
|
| 806 |
response = client.models.generate_content(
|
| 807 |
+
model="gemini-2.5-flash",
|
| 808 |
contents=[prompt, types.Part.from_bytes(data=img_bytes, mime_type="image/jpeg")],
|
| 809 |
config=types.GenerateContentConfig(
|
| 810 |
response_mime_type="application/json",
|