Update app.py
Browse files
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=
|
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 |
)
|