Upload app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
File: app.py
|
| 3 |
+
|
| 4 |
+
Description: Optical Character Recognition (OCR)
|
| 5 |
+
|
| 6 |
+
Author: Didier Guillevic
|
| 7 |
+
Date: 2024-11-23
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
import gradio as gr
|
| 11 |
+
|
| 12 |
+
from module_ocr import demo as ocr_block
|
| 13 |
+
|
| 14 |
+
demo = gr.TabbedInterface(
|
| 15 |
+
interface_list=[ocr_block,],
|
| 16 |
+
tab_names=["OCR 1.0",],
|
| 17 |
+
title="Optical Character Recognition (OCR)"
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
demo.launch()
|