Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ URL_A = "https://www.foxnews.com/live-news/trump-iran-israel-war-updates-march-3
|
|
| 19 |
URL_B = "https://edition.cnn.com/2026/03/30/world/live-news/iran-war-us-israel-trump"
|
| 20 |
|
| 21 |
# Initialize the AI model
|
| 22 |
-
GEMINI_API_KEY =
|
| 23 |
if GEMINI_API_KEY:
|
| 24 |
genai.configure(api_key=GEMINI_API_KEY)
|
| 25 |
|
|
|
|
| 19 |
URL_B = "https://edition.cnn.com/2026/03/30/world/live-news/iran-war-us-israel-trump"
|
| 20 |
|
| 21 |
# Initialize the AI model
|
| 22 |
+
GEMINI_API_KEY = st.secrets.get("GEMINI_API_KEY")
|
| 23 |
if GEMINI_API_KEY:
|
| 24 |
genai.configure(api_key=GEMINI_API_KEY)
|
| 25 |
|