Upload app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ import os
|
|
3 |
import google.generativeai as genai
|
4 |
import time
|
5 |
|
6 |
-
os.environ["
|
|
|
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 |
|