jmbt22's picture
Update app.py
819941d
raw
history blame
312 Bytes
import gradio as gr
import os
title = "Handwriting Detector"
tts_examples = [
os.path.join(os.path.dirname(__file__), "data/test.jpg")
]
gr.Interface.load(
"models/microsoft/trocr-small-handwritten",
title=title,
examples=tts_examples,
description="Give me something to detect!"
).launch()