shukdevdattaEX commited on
Commit
178e737
·
verified ·
1 Parent(s): 49e1d15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -7
app.py CHANGED
@@ -404,17 +404,21 @@ with gr.Blocks(title="Chat with Documents 💬 📚", theme=gr.themes.Ocean()) a
404
  )
405
 
406
  view_btn = gr.Button("View Selected", variant="secondary")
 
 
 
407
  selected_conv_display = gr.Textbox(
408
- label="Selected Conversation",
409
- lines=10,
410
- interactive=False
411
- )
412
-
413
  with gr.Row():
414
  delete_selected_btn = gr.Button("Delete Selected", variant="stop")
415
  delete_all_btn = gr.Button("Delete All Mine", variant="stop")
416
-
417
  delete_status = gr.Textbox(label="Delete Status", interactive=False)
 
418
 
419
  # Event handlers
420
  submit_btn.click(
@@ -477,4 +481,4 @@ with gr.Blocks(title="Chat with Documents 💬 📚", theme=gr.themes.Ocean()) a
477
  )
478
 
479
  if __name__ == "__main__":
480
- demo.launch()
 
404
  )
405
 
406
  view_btn = gr.Button("View Selected", variant="secondary")
407
+
408
+ with gr.Row():
409
+ with gr.Column(scale=1):
410
  selected_conv_display = gr.Textbox(
411
+ label="Selected Conversation",
412
+ lines=10,
413
+ interactive=False
414
+ )
415
+
416
  with gr.Row():
417
  delete_selected_btn = gr.Button("Delete Selected", variant="stop")
418
  delete_all_btn = gr.Button("Delete All Mine", variant="stop")
419
+
420
  delete_status = gr.Textbox(label="Delete Status", interactive=False)
421
+
422
 
423
  # Event handlers
424
  submit_btn.click(
 
481
  )
482
 
483
  if __name__ == "__main__":
484
+ demo.launch(share=True)