Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -152,7 +152,7 @@ def analyze_image_with_text(image_path: str, user_text: str) -> str:
|
|
| 152 |
out = response.text
|
| 153 |
else:
|
| 154 |
out = "Gemini沒答案!請換個說法!"
|
| 155 |
-
except Exception as e
|
| 156 |
# 處理錯誤
|
| 157 |
out = "Gemini執行出錯: {e}"
|
| 158 |
|
|
|
|
| 152 |
out = response.text
|
| 153 |
else:
|
| 154 |
out = "Gemini沒答案!請換個說法!"
|
| 155 |
+
except Exception as e:
|
| 156 |
# 處理錯誤
|
| 157 |
out = "Gemini執行出錯: {e}"
|
| 158 |
|