vishwask commited on
Commit
38a46cb
·
verified ·
1 Parent(s): 82f130e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -256,9 +256,6 @@ def demo():
256
 
257
 
258
 
259
- chatbot = gr.Chatbot(height=300)
260
- with gr.Row():
261
- msg = gr.Textbox(placeholder="Type message", container=True)
262
  with gr.Row():
263
  db_progress = gr.Textbox(label="Vector database initialization", value="None", visible=True)
264
  with gr.Row():
@@ -268,6 +265,10 @@ def demo():
268
  with gr.Row():
269
  qachain_btn = gr.Button("Initialize question-answering chain...")
270
 
 
 
 
 
271
  with gr.Accordion("References", open=False):
272
  with gr.Row():
273
  doc_source1 = gr.Textbox(label="Reference 1", lines=2, container=True, scale=20)
 
256
 
257
 
258
 
 
 
 
259
  with gr.Row():
260
  db_progress = gr.Textbox(label="Vector database initialization", value="None", visible=True)
261
  with gr.Row():
 
265
  with gr.Row():
266
  qachain_btn = gr.Button("Initialize question-answering chain...")
267
 
268
+ chatbot = gr.Chatbot(height=300)
269
+
270
+ with gr.Row():
271
+ msg = gr.Textbox(placeholder="Type message", container=True)
272
  with gr.Accordion("References", open=False):
273
  with gr.Row():
274
  doc_source1 = gr.Textbox(label="Reference 1", lines=2, container=True, scale=20)