alanchen1115 commited on
Commit
1700046
·
verified ·
1 Parent(s): bca7af4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -147,7 +147,7 @@ def analyze_image_with_text(image_path: str, user_text: str) -> str:
147
 
148
  # 建立一個新的聊天模型實例,以確保狀態獨立
149
  chat_model = ChatGoogleGenerativeAI(
150
- model="gemini-1.5-pro",
151
  temperature=0.5,
152
  top_p=0.5,
153
  top_k=16
 
147
 
148
  # 建立一個新的聊天模型實例,以確保狀態獨立
149
  chat_model = ChatGoogleGenerativeAI(
150
+ model="gemini-2.0-flash-exp",
151
  temperature=0.5,
152
  top_p=0.5,
153
  top_k=16