Update app.py
Browse files
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:
|