Removed examples
Browse files
app.py
CHANGED
|
@@ -287,13 +287,11 @@ description = """<h3>Sherif's Demo for table extraction with the Table Transform
|
|
| 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,
|
| 293 |
inputs=gr.Image(type="pil"),
|
| 294 |
outputs=[gr.Image(type="pil", label="Detected table"), gr.Dataframe(label="Table as CSV"), gr.JSON(label="Data as JSON")],
|
| 295 |
title=title,
|
| 296 |
-
description=description
|
| 297 |
-
examples=examples)
|
| 298 |
app.queue()
|
| 299 |
app.launch(debug=True)
|
|
|
|
| 287 |
<li>OCR is then performed per cell, row by row.
|
| 288 |
</ul>
|
| 289 |
"""
|
|
|
|
| 290 |
|
| 291 |
app = gr.Interface(fn=process_pdf,
|
| 292 |
inputs=gr.Image(type="pil"),
|
| 293 |
outputs=[gr.Image(type="pil", label="Detected table"), gr.Dataframe(label="Table as CSV"), gr.JSON(label="Data as JSON")],
|
| 294 |
title=title,
|
| 295 |
+
description=description)
|
|
|
|
| 296 |
app.queue()
|
| 297 |
app.launch(debug=True)
|