Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ load_dotenv()
|
|
| 16 |
|
| 17 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
| 18 |
|
| 19 |
-
|
| 20 |
st.error("❌ GOOGLE_API_KEY not found. Add it in Hugging Face Secrets.")
|
| 21 |
st.stop()
|
| 22 |
|
|
|
|
| 16 |
|
| 17 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
| 18 |
|
| 19 |
+
if not GOOGLE_API_KEY:
|
| 20 |
st.error("❌ GOOGLE_API_KEY not found. Add it in Hugging Face Secrets.")
|
| 21 |
st.stop()
|
| 22 |
|