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