Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,7 @@ from unstructured.partition.auto import partition
|
|
| 14 |
# ==================== ENV SETUP ====================
|
| 15 |
load_dotenv()
|
| 16 |
|
| 17 |
-
|
| 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 |
|
|
|
|
| 14 |
# ==================== ENV SETUP ====================
|
| 15 |
load_dotenv()
|
| 16 |
|
| 17 |
+
if not os.getenv("GOOGLE_API_KEY"):
|
|
|
|
|
|
|
| 18 |
st.error("❌ GOOGLE_API_KEY not found. Add it in Hugging Face Secrets.")
|
| 19 |
st.stop()
|
| 20 |
|