Gainward777 commited on
Commit
e511f4f
·
verified ·
1 Parent(s): 46a38fc

Update ui/gradio_ui.py

Browse files
Files changed (1) hide show
  1. ui/gradio_ui.py +2 -3
ui/gradio_ui.py CHANGED
@@ -8,14 +8,13 @@ def ui():
8
  gr.HTML("<center><h1>Ask your Manuscript</h1><center>")
9
  gr.Markdown("""<center><b>Simple Chatbot demo with RAG</b><center>""")
10
  gr.Markdown("""Upload your documents to initilize conversation system.
11
- It could take some time to preprocess documents if there are many of them,
12
- becouse in this demo database calculating on CPU to decrease hosting price. """)
13
 
14
  with gr.Row():
15
  with gr.Column(scale = 86):
16
  gr.Markdown("""<b>Important: The demo only works with pdf. It must be initialized by creating database.</b>""")
17
  with gr.Row():
18
- document = gr.Files(height=300, file_count="multiple", file_types=["pdf"], interactive=True, label="Upload PDF documents")
19
  with gr.Row():
20
  with gr.Accordion("Advanced settings", open=False):
21
  with gr.Row():
 
8
  gr.HTML("<center><h1>Ask your Manuscript</h1><center>")
9
  gr.Markdown("""<center><b>Simple Chatbot demo with RAG</b><center>""")
10
  gr.Markdown("""Upload your documents to initilize conversation system.
11
+ It could take some time to preprocess documents if there are many of them. """)
 
12
 
13
  with gr.Row():
14
  with gr.Column(scale = 86):
15
  gr.Markdown("""<b>Important: The demo only works with pdf. It must be initialized by creating database.</b>""")
16
  with gr.Row():
17
+ document = gr.Files(height=300, file_count="multiple", file_types=["pdf"], interactive=True, label="<center><h1>Ask your Manuscript</h1><center>")#Upload PDF documents")
18
  with gr.Row():
19
  with gr.Accordion("Advanced settings", open=False):
20
  with gr.Row():