JustinLin610 commited on
Commit
0962f0f
1 Parent(s): f41ac43
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -189,7 +189,8 @@ 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 = [['a.jpg'], ['aurora.jpeg'], ['good_luck.png'], ['pokemons.jpg'], ['donuts.jpg']]
 
193
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
194
  title=title, description=description, article=article, examples=examples,
195
  allow_flagging=False, allow_screenshot=False)
 
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 = [['EasyOCRLite/pics/lihe.png'], ['EasyOCRLite/pics/chinese.jpg'], ['EasyOCRLite/pics/paibian.jpeg'], \
193
+ ['EasyOCRLite/pics/shupai.png'], ['EasyOCRLite/pics/zuowen.jpg']]
194
  io = gr.Interface(fn=ocr, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
195
  title=title, description=description, article=article, examples=examples,
196
  allow_flagging=False, allow_screenshot=False)