Evaaaaa06 commited on
Commit
7a2c78a
Β·
verified Β·
1 Parent(s): b6e1b82

Update main.py

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