JustinLin610 commited on
Commit
ee57be1
1 Parent(s): 4229aaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ description = "Gradio Demo for Chinese OCR. Upload your own image or click any o
191
  "中文OCR体验区。欢迎上传图片,静待检测文字返回~"
192
  article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
193
  "Repo</a></p> "
194
- examples = [['shupai.png'], ['chinese.jpg'], ['ms2.jpg']]
195
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
196
  outputs=[gr.outputs.Image(type='pil', label='Image'), gr.outputs.Textbox(label="OCR result")],
197
  title=title, description=description, article=article, examples=examples,
 
191
  "中文OCR体验区。欢迎上传图片,静待检测文字返回~"
192
  article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
193
  "Repo</a></p> "
194
+ examples = [['shupai.png'], ['chinese.jpg']]
195
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
196
  outputs=[gr.outputs.Image(type='pil', label='Image'), gr.outputs.Textbox(label="OCR result")],
197
  title=title, description=description, article=article, examples=examples,