Update main.py
Browse files
main.py
CHANGED
@@ -98,7 +98,7 @@ def handle_image_message(event):
|
|
98 |
image_binary = image_generator.generate_image_with_gemini(prompt)
|
99 |
|
100 |
if image_binary:
|
101 |
-
image_url = image_generator.upload_image_to_tmp()
|
102 |
|
103 |
if image_url:
|
104 |
# 使用 push message 發送圖片,避免 reply token 超時
|
|
|
98 |
image_binary = image_generator.generate_image_with_gemini(prompt)
|
99 |
|
100 |
if image_binary:
|
101 |
+
image_url = image_generator.upload_image_to_tmp(image_binary)
|
102 |
|
103 |
if image_url:
|
104 |
# 使用 push message 發送圖片,避免 reply token 超時
|