DrishtiSharma commited on
Commit
a6c6535
Β·
verified Β·
1 Parent(s): a0af1f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -160,8 +160,6 @@ st.title("Document Analyzer and Podcast Generator")
160
  # Fetch the API key status
161
  if "OPENAI_API_KEY" not in os.environ or not os.getenv("OPENAI_API_KEY"):
162
  st.error("The 'OPENAI_API_KEY' environment variable is not set. Please configure it in your hosting environment.")
163
- else:
164
- st.success("API Key successfully loaded from environment variable.")
165
 
166
  # File upload
167
  st.subheader("Step 1: Upload Documents")
 
160
  # Fetch the API key status
161
  if "OPENAI_API_KEY" not in os.environ or not os.getenv("OPENAI_API_KEY"):
162
  st.error("The 'OPENAI_API_KEY' environment variable is not set. Please configure it in your hosting environment.")
 
 
163
 
164
  # File upload
165
  st.subheader("Step 1: Upload Documents")