zliang commited on
Commit
2ac0bf5
1 Parent(s): c5d6690

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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
- gr.Row(
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"