Update app.py
Browse files
app.py
CHANGED
@@ -300,7 +300,7 @@ def demo():
|
|
300 |
with gr.Row():
|
301 |
msg = gr.Textbox(placeholder="Type message", container=True)
|
302 |
|
303 |
-
|
304 |
with gr.Accordion("References", open=False):
|
305 |
with gr.Row():
|
306 |
doc_source1 = gr.Textbox(label="Reference 1", lines=2, container=True, scale=20)
|
@@ -311,7 +311,7 @@ def demo():
|
|
311 |
with gr.Row():
|
312 |
doc_source3 = gr.Textbox(label="Reference 3", lines=2, container=True, scale=20)
|
313 |
source3_page = gr.Number(label="Page", scale=1)
|
314 |
-
|
315 |
with gr.Row():
|
316 |
submit_btn = gr.Button("Submit")
|
317 |
clear_btn = gr.ClearButton([msg, chatbot])
|
|
|
300 |
with gr.Row():
|
301 |
msg = gr.Textbox(placeholder="Type message", container=True)
|
302 |
|
303 |
+
|
304 |
with gr.Accordion("References", open=False):
|
305 |
with gr.Row():
|
306 |
doc_source1 = gr.Textbox(label="Reference 1", lines=2, container=True, scale=20)
|
|
|
311 |
with gr.Row():
|
312 |
doc_source3 = gr.Textbox(label="Reference 3", lines=2, container=True, scale=20)
|
313 |
source3_page = gr.Number(label="Page", scale=1)
|
314 |
+
|
315 |
with gr.Row():
|
316 |
submit_btn = gr.Button("Submit")
|
317 |
clear_btn = gr.ClearButton([msg, chatbot])
|