Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -259,7 +259,8 @@ def main():
|
|
| 259 |
if os.path.exists(example_root) and os.path.isdir(example_root):
|
| 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 |
gr.Examples(examples=example_files, inputs=file_input, examples_per_page=10)
|
| 264 |
|
| 265 |
with gr.Accordion("Download Details🕧", open=False):
|
|
|
|
| 259 |
if os.path.exists(example_root) and os.path.isdir(example_root):
|
| 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):
|