Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,12 +74,9 @@ iface = gr.Interface(
|
|
74 |
fn=process_pdf,
|
75 |
inputs=gr.File(label="Upload a PDF"),
|
76 |
outputs=[
|
77 |
-
|
78 |
-
[
|
79 |
gr.Gallery(label="Figures from PDF", object_fit='scale-down'),
|
80 |
gr.Gallery(label="Tables from PDF", object_fit='scale-down')
|
81 |
-
]
|
82 |
-
)
|
83 |
],
|
84 |
title="PDF figures and tables extraction based on YOLOv10",
|
85 |
description="Upload a PDF file to get figures and tables in the PDF"
|
|
|
74 |
fn=process_pdf,
|
75 |
inputs=gr.File(label="Upload a PDF"),
|
76 |
outputs=[
|
77 |
+
|
|
|
78 |
gr.Gallery(label="Figures from PDF", object_fit='scale-down'),
|
79 |
gr.Gallery(label="Tables from PDF", object_fit='scale-down')
|
|
|
|
|
80 |
],
|
81 |
title="PDF figures and tables extraction based on YOLOv10",
|
82 |
description="Upload a PDF file to get figures and tables in the PDF"
|