Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import re
|
|
9 |
|
10 |
# Set your API key
|
11 |
# Or use `os.getenv('GOOGLE_API_KEY')` to fetch an environment variable.
|
12 |
-
GOOGLE_API_KEY=
|
13 |
|
14 |
genai.configure(api_key=GOOGLE_API_KEY)
|
15 |
model = genai.GenerativeModel('gemini-pro')
|
|
|
9 |
|
10 |
# Set your API key
|
11 |
# Or use `os.getenv('GOOGLE_API_KEY')` to fetch an environment variable.
|
12 |
+
GOOGLE_API_KEY=os.getenv('GEMINI_KEY')
|
13 |
|
14 |
genai.configure(api_key=GOOGLE_API_KEY)
|
15 |
model = genai.GenerativeModel('gemini-pro')
|