Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -147,7 +147,7 @@ def analyze_image_with_text(image_path: str, user_text: str) -> str:
|
|
| 147 |
img_user = PIL.Image.open(image_path)
|
| 148 |
print(user_text)
|
| 149 |
response = genai_client.models.generate_content(
|
| 150 |
-
model="gemini-2.
|
| 151 |
contents=[img_user, user_text]
|
| 152 |
)
|
| 153 |
|
|
|
|
| 147 |
img_user = PIL.Image.open(image_path)
|
| 148 |
print(user_text)
|
| 149 |
response = genai_client.models.generate_content(
|
| 150 |
+
model="gemini-2.5-flash",
|
| 151 |
contents=[img_user, user_text]
|
| 152 |
)
|
| 153 |
|