Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,8 +73,8 @@ iface = gr.Interface(
|
|
73 |
fn=process_pdf,
|
74 |
inputs=gr.File(label="Upload a PDF"),
|
75 |
outputs=[
|
76 |
-
gr.Gallery(label="Figures from PDF"),
|
77 |
-
gr.Gallery(label="Tables from PDF ")
|
78 |
],
|
79 |
title="PDF figures and tables extraction based on YOLOv10",
|
80 |
description="Upload a PDF file to get figures and tables in the PDF"
|
|
|
73 |
fn=process_pdf,
|
74 |
inputs=gr.File(label="Upload a PDF"),
|
75 |
outputs=[
|
76 |
+
gr.Gallery(label="Figures from PDF").style(grid=[2], height=400, width=400),
|
77 |
+
gr.Gallery(label="Tables from PDF ").style(grid=[2], height=400, width=400)
|
78 |
],
|
79 |
title="PDF figures and tables extraction based on YOLOv10",
|
80 |
description="Upload a PDF file to get figures and tables in the PDF"
|