madji05 commited on
Commit
5353598
·
verified ·
1 Parent(s): 7bc1798

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import os
3
  import google.generativeai as genai
4
  import time
5
 
6
- os.environ["AIzaSyCoyRW0-IIVik1LnZtr3KTXhDG8qB_LvTk"] = os.getenv("AIzaSyCoyRW0-IIVik1LnZtr3KTXhDG8qB_LvTk")
 
7
 
8
  icons = {"assistant": "robot.png", "user": "man-kddi.png"}
9
 
 
3
  import google.generativeai as genai
4
  import time
5
 
6
+ os.environ["GOOGLE_API_KEY"] = os.getenv("GOOGLE_API_KEY")
7
+ genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
8
 
9
  icons = {"assistant": "robot.png", "user": "man-kddi.png"}
10