Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -260,8 +260,8 @@ def main():
|
|
| 260 |
example_files = [os.path.join(example_root, f) for f in os.listdir(example_root) if f.endswith(tuple(pdf_suffixes + image_suffixes))]
|
| 261 |
if example_files:
|
| 262 |
#with gr.Accordion("Open Examples⚙️", open=False):
|
| 263 |
-
with gr.row():
|
| 264 |
-
|
| 265 |
|
| 266 |
with gr.Accordion("Download Details🕧", open=False):
|
| 267 |
output_file = gr.File(label='Download Markdown Result', interactive=False)
|
|
|
|
| 260 |
example_files = [os.path.join(example_root, f) for f in os.listdir(example_root) if f.endswith(tuple(pdf_suffixes + image_suffixes))]
|
| 261 |
if example_files:
|
| 262 |
#with gr.Accordion("Open Examples⚙️", open=False):
|
| 263 |
+
#with gr.row():
|
| 264 |
+
gr.Examples(examples=example_files, inputs=file_input, examples_per_page=10)
|
| 265 |
|
| 266 |
with gr.Accordion("Download Details🕧", open=False):
|
| 267 |
output_file = gr.File(label='Download Markdown Result', interactive=False)
|