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