Spaces:
Sleeping
Sleeping
CB commited on
Update streamlit_app.py
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
|
@@ -60,7 +60,7 @@ expander = st.sidebar.expander("Options", expanded=True)
|
|
| 60 |
API_KEY = expander.text_input("Google API Key", "AIzaSyB2uDj6IeuNszSuk80feW-eBgpIDH0WFSY")
|
| 61 |
# ✅ Check if API key is available
|
| 62 |
if API_KEY:
|
| 63 |
-
genai.configure(api_key=
|
| 64 |
|
| 65 |
else:
|
| 66 |
expander.error("No GOOGLE_API_KEY", icon="⚠️")
|
|
|
|
| 60 |
API_KEY = expander.text_input("Google API Key", "AIzaSyB2uDj6IeuNszSuk80feW-eBgpIDH0WFSY")
|
| 61 |
# ✅ Check if API key is available
|
| 62 |
if API_KEY:
|
| 63 |
+
genai.configure(api_key=['API_KEY'])
|
| 64 |
|
| 65 |
else:
|
| 66 |
expander.error("No GOOGLE_API_KEY", icon="⚠️")
|