Update app.py
Browse files
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', '
|
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"),
|