Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -260,7 +260,7 @@ def main():
|
|
| 260 |
type="filepath"
|
| 261 |
)
|
| 262 |
image_preview = gr.Image(
|
| 263 |
-
label="Preview", type="pil", interactive=False, height=
|
| 264 |
)
|
| 265 |
|
| 266 |
with gr.Row():
|
|
@@ -276,7 +276,7 @@ def main():
|
|
| 276 |
if f.endswith(tuple(pdf_suffixes + image_suffixes))
|
| 277 |
]
|
| 278 |
if example_files:
|
| 279 |
-
with gr.
|
| 280 |
gr.Examples(
|
| 281 |
examples=example_files,
|
| 282 |
inputs=file_input,
|
|
|
|
| 260 |
type="filepath"
|
| 261 |
)
|
| 262 |
image_preview = gr.Image(
|
| 263 |
+
label="Preview", type="pil", interactive=False, height=280
|
| 264 |
)
|
| 265 |
|
| 266 |
with gr.Row():
|
|
|
|
| 276 |
if f.endswith(tuple(pdf_suffixes + image_suffixes))
|
| 277 |
]
|
| 278 |
if example_files:
|
| 279 |
+
with gr.Accordion("Open Examples", open=False):
|
| 280 |
gr.Examples(
|
| 281 |
examples=example_files,
|
| 282 |
inputs=file_input,
|