Spaces:
Sleeping
Sleeping
CB commited on
Update streamlit_app.py
Browse files- streamlit_app.py +0 -1
streamlit_app.py
CHANGED
|
@@ -63,7 +63,6 @@ if API_KEY:
|
|
| 63 |
genai.configure(api_key=API_KEY)
|
| 64 |
|
| 65 |
else:
|
| 66 |
-
except Exception as e:
|
| 67 |
expander.error("No GOOGLE_API_KEY", icon="⚠️")
|
| 68 |
# ✅ Load API key securely
|
| 69 |
API_KEY = os.getenv("GOOGLE_API_KEY")
|
|
|
|
| 63 |
genai.configure(api_key=API_KEY)
|
| 64 |
|
| 65 |
else:
|
|
|
|
| 66 |
expander.error("No GOOGLE_API_KEY", icon="⚠️")
|
| 67 |
# ✅ Load API key securely
|
| 68 |
API_KEY = os.getenv("GOOGLE_API_KEY")
|