Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from typing import List, Dict, Any, Optional, Union
|
|
| 12 |
# !! IMPORTANT !! Set these as Hugging Face Space Secrets
|
| 13 |
# Go to your Space > Settings > Secrets > Add secret
|
| 14 |
NEWS_API_KEY = os.getenv('NEWS_API_KEY')
|
| 15 |
-
GOOGLE_API_KEY = os.getenv('
|
| 16 |
|
| 17 |
if not NEWS_API_KEY:
|
| 18 |
print("Warning: NEWS_API_KEY secret not found.")
|
|
|
|
| 12 |
# !! IMPORTANT !! Set these as Hugging Face Space Secrets
|
| 13 |
# Go to your Space > Settings > Secrets > Add secret
|
| 14 |
NEWS_API_KEY = os.getenv('NEWS_API_KEY')
|
| 15 |
+
GOOGLE_API_KEY = os.getenv('GEMINI_API_KEY')
|
| 16 |
|
| 17 |
if not NEWS_API_KEY:
|
| 18 |
print("Warning: NEWS_API_KEY secret not found.")
|