Vera-ZWY commited on
Commit
c9150f4
1 Parent(s): 60efcde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -279,7 +279,7 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
279
 
280
  # Update both outputs when submit is clicked
281
  submit_btn.click(
282
- fn=process_query,
283
  inputs=[query_input, year_selector],
284
  outputs=output_text
285
  )
 
279
 
280
  # Update both outputs when submit is clicked
281
  submit_btn.click(
282
+ fn=stream_chat_with_rag,
283
  inputs=[query_input, year_selector],
284
  outputs=output_text
285
  )