""" | |
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() | |