JustinLin610 commited on
Commit
6085bc1
1 Parent(s): 1527d1e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +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'],['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'),
 
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']]
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'),