Spaces:
Runtime error
Runtime error
Commit
·
eabada1
1
Parent(s):
168e106
debug
Browse files
app.py
CHANGED
@@ -193,7 +193,7 @@ description = "Gradio Demo for Chinese OCR based on OFA-Base. "\
|
|
193 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
194 |
"Repo</a></p> "
|
195 |
examples = [['shupai.png'], ['chinese.jpg'], ['gaidao.jpeg'],
|
196 |
-
['qiaodaima.png'], ['benpao.jpeg'],
|
197 |
['xsd.jpg', 'General']]
|
198 |
io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
|
199 |
outputs=[gr.outputs.Image(type='pil', label='Image'),
|
|
|
193 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
194 |
"Repo</a></p> "
|
195 |
examples = [['shupai.png'], ['chinese.jpg'], ['gaidao.jpeg'],
|
196 |
+
['qiaodaima.png'], ['benpao.jpeg'],
|
197 |
['xsd.jpg', 'General']]
|
198 |
io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
|
199 |
outputs=[gr.outputs.Image(type='pil', label='Image'),
|