alanchen1115 commited on
Commit
cf36010
ยท
verified ยท
1 Parent(s): e889030

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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_imgur()
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()
102
 
103
  if image_url:
104
  # ไฝฟ็”จ push message ็™ผ้€ๅœ–็‰‡๏ผŒ้ฟๅ… reply token ่ถ…ๆ™‚