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