Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import toml # Import the toml library
|
|
| 8 |
# Load secrets from secrets.toml
|
| 9 |
try:
|
| 10 |
secrets = toml.load("secrets.toml")
|
| 11 |
-
GEMINI_API_KEY = secrets["
|
| 12 |
except FileNotFoundError:
|
| 13 |
print("Error: secrets.toml not found. Make sure it exists in the same directory.")
|
| 14 |
GEMINI_API_KEY = None # Or some default value
|
|
|
|
| 8 |
# Load secrets from secrets.toml
|
| 9 |
try:
|
| 10 |
secrets = toml.load("secrets.toml")
|
| 11 |
+
GEMINI_API_KEY = secrets["AIzaSyC_MFgpk5t3woYooMIPkIA5-Kzaon13-m0"]
|
| 12 |
except FileNotFoundError:
|
| 13 |
print("Error: secrets.toml not found. Make sure it exists in the same directory.")
|
| 14 |
GEMINI_API_KEY = None # Or some default value
|