RKP64 commited on
Commit
92a2fad
·
verified ·
1 Parent(s): 610837e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def main():
14
  openai_api_key = os.getenv("OPENAI_API_KEY")
15
 
16
  # Check if the OpenAI API key is set
17
- if openai_api_key is None or openai_api_key == :
18
  st.error("OpenAI API Key is not set in the environment. Please check your environment variables.")
19
  return
20
  else:
 
14
  openai_api_key = os.getenv("OPENAI_API_KEY")
15
 
16
  # Check if the OpenAI API key is set
17
+ if openai_api_key is None or openai_api_key == "Financial Agent":
18
  st.error("OpenAI API Key is not set in the environment. Please check your environment variables.")
19
  return
20
  else: