Update main.py
Browse files
main.py
CHANGED
@@ -221,9 +221,9 @@ def handle_image_message(event):
|
|
221 |
line_bot_api.reply_message(event.reply_token, TextSendMessage(text="εηηζδΈο½ θ«η¨ε.....β¨"))
|
222 |
client = ImgurClient(client_id, client_secret, access_token, refresh_token)
|
223 |
|
224 |
-
prompt_en = translate_zh_to_en(prompt)
|
225 |
# ηζεη
|
226 |
-
image_binary = generate_image_with_gemini(
|
227 |
|
228 |
if image_binary:
|
229 |
album = "nvsYwgq"
|
|
|
221 |
line_bot_api.reply_message(event.reply_token, TextSendMessage(text="εηηζδΈο½ θ«η¨ε.....β¨"))
|
222 |
client = ImgurClient(client_id, client_secret, access_token, refresh_token)
|
223 |
|
224 |
+
#prompt_en = translate_zh_to_en(prompt)
|
225 |
# ηζεη
|
226 |
+
image_binary = generate_image_with_gemini(prompt)
|
227 |
|
228 |
if image_binary:
|
229 |
album = "nvsYwgq"
|