amatsarski commited on
Commit
e96c4a3
·
verified ·
1 Parent(s): 7f17d2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def run_user_query(ticker, history):
18
  final_state = app.invoke(init_state)
19
 
20
  # Update the Gradio chat history
21
- history.append((user_input, final_state['final_recommendation']))
22
  return "", history
23
 
24
  with gr.Blocks() as demo:
 
18
  final_state = app.invoke(init_state)
19
 
20
  # Update the Gradio chat history
21
+ history.append((QUERY, final_state['final_recommendation']))
22
  return "", history
23
 
24
  with gr.Blocks() as demo: