alanchen1115 commited on
Commit
53f20ad
·
verified ·
1 Parent(s): 1aa6586

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 超時