Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks(theme="Nymbo/Alyx_Theme") as demo:
|
|
112 |
with gr.Tab("Indexing"):
|
113 |
pdf_input = gr.File(label="Upload PDF", file_types=[".pdf"])
|
114 |
index_button = gr.Button("Index PDF")
|
115 |
-
load_sample = gr.Button("Or load
|
116 |
index_output = gr.Textbox(label="Indexing Status")
|
117 |
index_button.click(index_pdf, inputs=pdf_input, outputs=index_output)
|
118 |
load_sample.click(load_sample_pdf, inputs=None, outputs=index_output)
|
|
|
112 |
with gr.Tab("Indexing"):
|
113 |
pdf_input = gr.File(label="Upload PDF", file_types=[".pdf"])
|
114 |
index_button = gr.Button("Index PDF")
|
115 |
+
load_sample = gr.Button("Or load [ Attention Is All You Need.pdf ] as a Sample")
|
116 |
index_output = gr.Textbox(label="Indexing Status")
|
117 |
index_button.click(index_pdf, inputs=pdf_input, outputs=index_output)
|
118 |
load_sample.click(load_sample_pdf, inputs=None, outputs=index_output)
|