trocr-base-handwritten
Build-Deploy-Actions Details

This commit is contained in:
jianjiang 2023-04-26 15:44:21 +08:00
parent 068ef782af
commit c32c3594dd
1 changed files with 2 additions and 1 deletions

3
app.py
View File

@ -28,8 +28,9 @@ def ocr(image):
demo = gr.Interface(fn=ocr,
inputs='image',
outputs='text',
title = "ocr",
theme = theme,
css = "footer {visibility: hidden}",
allow_flagging = "never",
examples = ['handwritten.jpeg'])