QuantumLearner commited on
Commit
625aab1
·
verified ·
1 Parent(s): d6338e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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