Update app.py
Browse files
app.py
CHANGED
|
@@ -10,10 +10,11 @@ Date: 2024-11-23
|
|
| 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 |
|
|
|
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
from module_ocr import demo as ocr_block
|
| 13 |
+
from module_ocr2 import demo as ocr2_block
|
| 14 |
|
| 15 |
demo = gr.TabbedInterface(
|
| 16 |
+
interface_list=[ocr_block, ocr2_block],
|
| 17 |
+
tab_names=["OCR 1.0", "OCR 2.0"],
|
| 18 |
title="Optical Character Recognition (OCR)"
|
| 19 |
)
|
| 20 |
|