Vera-ZWY commited on
Commit
dd27210
1 Parent(s): 6bc65f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
120
  """)
121
 
122
  # Update both outputs when submit is clicked
123
- submit_btn.Botten(
124
  fn=stream_chat_with_rag,
125
  inputs=[query_input, year_selector],
126
  outputs=[output_text, output_plot]
 
120
  """)
121
 
122
  # Update both outputs when submit is clicked
123
+ submit_btn.click(
124
  fn=stream_chat_with_rag,
125
  inputs=[query_input, year_selector],
126
  outputs=[output_text, output_plot]