mangalathkedar commited on
Commit
b88d03b
·
verified ·
1 Parent(s): 68f3731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ try:
17
  # Add this debugging code right after your API key initialization
18
  if os.getenv('OPENAI_API_KEY'):
19
  st.write("API key found")
20
- else:
21
- st.write("No API key found")
22
  if not os.getenv('OPENAI_API_KEY'):
23
  st.error("OpenAI API key not found. Please check your .env file.")
24
  st.stop()
 
17
  # Add this debugging code right after your API key initialization
18
  if os.getenv('OPENAI_API_KEY'):
19
  st.write("API key found")
20
+ else:
21
+ st.write("No API key found")
22
  if not os.getenv('OPENAI_API_KEY'):
23
  st.error("OpenAI API key not found. Please check your .env file.")
24
  st.stop()