Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import google.generativeai as genai
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# Retrieve the API key from environment variables
|
| 6 |
-
api_key = os.getenv("
|
| 7 |
|
| 8 |
# Check if API key is provided
|
| 9 |
if not api_key:
|
|
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# Retrieve the API key from environment variables
|
| 6 |
+
api_key = os.getenv("google_api_key")
|
| 7 |
|
| 8 |
# Check if API key is provided
|
| 9 |
if not api_key:
|