nielsr HF staff commited on
Commit
66a95c1
1 Parent(s): 734a43a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -279,7 +279,7 @@ def process_pdf(image):
279
  title = "Demo: table detection & recognition with Table Transformer (TATR)."
280
  description = """Demo for table extraction with the Table Transformer. First, table detection is performed on the input image using https://huggingface.co/microsoft/table-transformer-detection,
281
  after which the detected table is extracted and https://huggingface.co/microsoft/table-transformer-structure-recognition-v1.1-all is leveraged to recognize the individual rows, columns and cells. OCR is then performed per cell, row by row."""
282
- examples = [['image.png', 'clip_paper.png']]
283
 
284
  app = gr.Interface(fn=process_pdf,
285
  inputs=gr.Image(type="pil"),
 
279
  title = "Demo: table detection & recognition with Table Transformer (TATR)."
280
  description = """Demo for table extraction with the Table Transformer. First, table detection is performed on the input image using https://huggingface.co/microsoft/table-transformer-detection,
281
  after which the detected table is extracted and https://huggingface.co/microsoft/table-transformer-structure-recognition-v1.1-all is leveraged to recognize the individual rows, columns and cells. OCR is then performed per cell, row by row."""
282
+ examples = [['image.png', 'mistral_paper.png']]
283
 
284
  app = gr.Interface(fn=process_pdf,
285
  inputs=gr.Image(type="pil"),