zliang commited on
Commit
4a54555
·
verified ·
1 Parent(s): 36ec266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -73,11 +73,11 @@ iface = gr.Interface(
73
  fn=process_pdf,
74
  inputs=gr.File(label="Upload a PDF"),
75
  outputs=[
76
- gr.Gallery(label="Cropped Figures from PDF Pages"),
77
- gr.Gallery(label="Cropped Tables from PDF Pages")
78
  ],
79
- title="Fast document layout analysis based on YOLOv10",
80
- description="Upload a PDF file to get cropped figures and tables from each page."
81
  )
82
 
83
  # Launch the app
 
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"
81
  )
82
 
83
  # Launch the app