Update app.py
Browse files
app.py
CHANGED
@@ -220,11 +220,11 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
|
|
220 |
# )
|
221 |
|
222 |
with gr.Column():
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
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():
|