manga-ocr-demo / app.py
gryan-galario's picture
Create app.py
5650861
raw
history blame
285 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="image-to-text", model="kha-white/manga-ocr-base")
gr.Interface.from_pipeline(pipe, title="Manga OCR", description="Japanese Character Recognization from Mangas", allow_flagging="never").launch(inbrowser=True)