Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -107,7 +107,7 @@ def analyze_with_gemini(image_path, user_text):
|
|
| 107 |
prompt = f"""
|
| 108 |
用戶的問題是:{user_text}
|
| 109 |
圖片已上傳,Base64 編碼如下(部分截取):
|
| 110 |
-
{image_base64
|
| 111 |
請根據圖片和問題進行詳細分析。
|
| 112 |
"""
|
| 113 |
# 使用 Gemini API 請求
|
|
|
|
| 107 |
prompt = f"""
|
| 108 |
用戶的問題是:{user_text}
|
| 109 |
圖片已上傳,Base64 編碼如下(部分截取):
|
| 110 |
+
{image_base64}
|
| 111 |
請根據圖片和問題進行詳細分析。
|
| 112 |
"""
|
| 113 |
# 使用 Gemini API 請求
|