Anshviradiya commited on
Commit
ce0fbc7
·
verified ·
1 Parent(s): 944a44f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -14,9 +14,7 @@ from unstructured.partition.auto import partition
14
  # ==================== ENV SETUP ====================
15
  load_dotenv()
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
 
 
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