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