Evaaaaa06 commited on
Commit
071a386
·
verified ·
1 Parent(s): 883cea6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -9,6 +9,7 @@ from linebot import LineBotApi, WebhookHandler
9
  from linebot.exceptions import InvalidSignatureError
10
  from linebot.models import MessageEvent, TextMessage, TextSendMessage, ImageSendMessage, AudioMessage, ImageMessage
11
  import PIL.Image
 
12
 
13
  # 設定 Google AI API 金鑰
14
  genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
 
9
  from linebot.exceptions import InvalidSignatureError
10
  from linebot.models import MessageEvent, TextMessage, TextSendMessage, ImageSendMessage, AudioMessage, ImageMessage
11
  import PIL.Image
12
+ import tempfile
13
 
14
  # 設定 Google AI API 金鑰
15
  genai.configure(api_key=os.environ["GOOGLE_API_KEY"])