msheriff commited on
Commit
58d461f
1 Parent(s): 3a3499e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -280,11 +280,13 @@ def process_pdf(image):
280
 
281
 
282
  title = "Sheriff's Demo on Table Detection & Recognition with MS TATR"
283
- description = """<h2>Sherif's Demo for table extraction with the Table Transformer.
284
  <li>First, table detection is performed on the input image using https://huggingface.co/microsoft/table-transformer-detection,
285
  <li>after which the detected table is extracted and
286
  https://huggingface.co/microsoft/table-transformer-structure-recognition-v1.1-all recognizes the individual rows, columns and cells.
287
- <li>OCR is then performed per cell, row by row."""
 
 
288
  examples = [['image.png'], ['mistral_paper.png']]
289
 
290
  app = gr.Interface(fn=process_pdf,
 
280
 
281
 
282
  title = "Sheriff's Demo on Table Detection & Recognition with MS TATR"
283
+ description = """<h3>Sherif's Demo for table extraction with the Table Transformer.</h3><ul>
284
  <li>First, table detection is performed on the input image using https://huggingface.co/microsoft/table-transformer-detection,
285
  <li>after which the detected table is extracted and
286
  https://huggingface.co/microsoft/table-transformer-structure-recognition-v1.1-all recognizes the individual rows, columns and cells.
287
+ <li>OCR is then performed per cell, row by row.
288
+ </ul>
289
+ """
290
  examples = [['image.png'], ['mistral_paper.png']]
291
 
292
  app = gr.Interface(fn=process_pdf,