Vera-ZWY commited on
Commit
90273d7
·
verified ·
1 Parent(s): 7fd5c4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -220,11 +220,11 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
220
  # )
221
 
222
  with gr.Column():
223
- chatbot = gr.ChatInterface(chat_function,
224
- type="messages",
225
- chatbot=stream_chat_with_rag,
226
- addtional_inputs = [year_selector]
227
- )
228
 
229
  gr.Markdown("## Top works of the relevant Q&A")
230
  # with gr.Row():
 
220
  # )
221
 
222
  with gr.Column():
223
+ gr.ChatInterface(stream_chat_with_rag,
224
+ type="messages",
225
+ # chatbot=stream_chat_with_rag,
226
+ addtional_inputs = [year_selector]
227
+ )
228
 
229
  gr.Markdown("## Top works of the relevant Q&A")
230
  # with gr.Row():