Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ import os
|
|
| 15 |
st.set_page_config(page_title="ITC Financial Analysis ChatBot", layout="centered")
|
| 16 |
|
| 17 |
# API key
|
| 18 |
-
|
| 19 |
-
if not
|
| 20 |
st.error("❌ GOOGLE_API_KEY not found. Please set it in your Hugging Face Secrets.")
|
| 21 |
st.stop()
|
| 22 |
|
|
|
|
| 15 |
st.set_page_config(page_title="ITC Financial Analysis ChatBot", layout="centered")
|
| 16 |
|
| 17 |
# API key
|
| 18 |
+
API_key = os.environ.get("GOOGLE_API_KEY")
|
| 19 |
+
if not API_key:
|
| 20 |
st.error("❌ GOOGLE_API_KEY not found. Please set it in your Hugging Face Secrets.")
|
| 21 |
st.stop()
|
| 22 |
|