JustinLin610 commited on
Commit
1527d1e
1 Parent(s): f8816f2
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,8 +43,7 @@ description = "Gradio Demo for Chinese OCR based on OFA-Base. "\
43
  "\n中文OCR体验区。欢迎上传图片,静待检测文字返回~"
44
  article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
45
  "Repo</a></p> "
46
- examples = [['shupai.png'], ['chinese.jpg'], ['gaidao.jpeg'],
47
- ['qiaodaima.png'], ['xsd.jpg']]
48
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
49
  examples=examples,
50
  outputs=[gr.outputs.Image(type='pil', label='Image'),
 
43
  "\n中文OCR体验区。欢迎上传图片,静待检测文字返回~"
44
  article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
45
  "Repo</a></p> "
46
+ examples = [['shupai.png']]#, ['chinese.jpg'], ['gaidao.jpeg'],['qiaodaima.png'], ['xsd.jpg']]
 
47
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='filepath', label='Image'),
48
  examples=examples,
49
  outputs=[gr.outputs.Image(type='pil', label='Image'),