Spaces:
Running
Running
Clement Vachet
commited on
Commit
·
bf6aeda
1
Parent(s):
015a2e0
Fix: gradio chatbot data type to tuples
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ def gradio_ui():
|
|
229 |
qachain_btn = gr.Button("Initialize Question Answering chain")
|
230 |
|
231 |
with gr.Tab("Step 4 - Chatbot"):
|
232 |
-
chatbot = gr.Chatbot(height=300, type="
|
233 |
with gr.Accordion("Advanced - Document references", open=False):
|
234 |
with gr.Row():
|
235 |
doc_source1 = gr.Textbox(
|
|
|
229 |
qachain_btn = gr.Button("Initialize Question Answering chain")
|
230 |
|
231 |
with gr.Tab("Step 4 - Chatbot"):
|
232 |
+
chatbot = gr.Chatbot(height=300, type="tuples")
|
233 |
with gr.Accordion("Advanced - Document references", open=False):
|
234 |
with gr.Row():
|
235 |
doc_source1 = gr.Textbox(
|