Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
a41a3ef
1
Parent(s):
ab591a3
test
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ description = "Gradio Demo for OFA-OCR. Upload your own image or click any one o
|
|
189 |
"\"Submit\" and then wait for the generated OCR result. "
|
190 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
191 |
"Repo</a></p> "
|
192 |
-
examples = [['lihe.png']
|
193 |
io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='pil'),
|
194 |
outputs=[gr.outputs.Image(type='pil'), gr.outputs.Textbox(label="OCR result")],
|
195 |
title=title, description=description, article=article, examples=examples,
|
|
|
189 |
"\"Submit\" and then wait for the generated OCR result. "
|
190 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
191 |
"Repo</a></p> "
|
192 |
+
examples = [['lihe.png']]
|
193 |
io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='pil'),
|
194 |
outputs=[gr.outputs.Image(type='pil'), gr.outputs.Textbox(label="OCR result")],
|
195 |
title=title, description=description, article=article, examples=examples,
|