Spaces:
Runtime error
Runtime error
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 ่ถ
ๆ
|