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 |
|
| 148 |
# 建立一個新的聊天模型實例,以確保狀態獨立
|
| 149 |
chat_model = ChatGoogleGenerativeAI(
|
| 150 |
-
model="gemini-
|
| 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
|