Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,8 @@ async def on_chat_start():
|
|
| 70 |
).send()
|
| 71 |
|
| 72 |
# Check if ticker_response is None or lacks 'content'
|
| 73 |
-
if ticker_response is None or 'content' not in ticker_response:
|
|
|
|
| 74 |
await cl.Message(content="No ticker symbol provided. Please enter a valid ticker symbol to proceed.").send()
|
| 75 |
return
|
| 76 |
|
|
|
|
| 70 |
).send()
|
| 71 |
|
| 72 |
# Check if ticker_response is None or lacks 'content'
|
| 73 |
+
#if ticker_response is None or 'content' not in ticker_response:
|
| 74 |
+
if not ticker_response or 'content' not in ticker_response:
|
| 75 |
await cl.Message(content="No ticker symbol provided. Please enter a valid ticker symbol to proceed.").send()
|
| 76 |
return
|
| 77 |
|