Spaces:
Runtime error
Runtime error
Update src/view/view.py
Browse files- src/view/view.py +1 -0
src/view/view.py
CHANGED
@@ -12,6 +12,7 @@ def run(ctrl: Chatbot, config: {}):
|
|
12 |
with gr.Column(scale=10):
|
13 |
gr.Markdown(config['title'])
|
14 |
intro_text = gr.Markdown('<center> Ask questions on any PDF, Word or HTML document. Start with "Le Petit Prince" or upload your own document.<center/>', visible=True)
|
|
|
15 |
|
16 |
actual_page_start = gr.Number(
|
17 |
label="Start page (default = 1)",
|
|
|
12 |
with gr.Column(scale=10):
|
13 |
gr.Markdown(config['title'])
|
14 |
intro_text = gr.Markdown('<center> Ask questions on any PDF, Word or HTML document. Start with "Le Petit Prince" or upload your own document.<center/>', visible=True)
|
15 |
+
page_start_warning = gr.Markdown("<center>⚠️ If your document starts with a front cover and/or a table of contents, please enter the page number of the ⚠️ first page with real content.<center/>")
|
16 |
|
17 |
actual_page_start = gr.Number(
|
18 |
label="Start page (default = 1)",
|