alanchen1115 commited on
Commit
cc84f2e
·
verified ·
1 Parent(s): 5ff0cc8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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