File size: 395 Bytes
7fbe096 ee361f3 7fbe096 ee361f3 7fbe096 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
"""
File: app.py
Description: Optical Character Recognition (OCR)
Author: Didier Guillevic
Date: 2024-11-23
"""
import gradio as gr
from module_ocr import demo as ocr_block
from module_ocr2 import demo as ocr2_block
demo = gr.TabbedInterface(
interface_list=[ocr_block, ocr2_block],
tab_names=["OCR 1.0", "OCR 2.0"],
title="Optical Character Recognition (OCR)"
)
demo.launch()
|