JustinLin610 commited on
Commit
edf5ee3
1 Parent(s): cd31959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -185,9 +185,10 @@ def ocr(img):
185
  return out_img, result
186
 
187
 
188
- title = "OFA-OCR"
189
- description = "Gradio Demo for OFA-OCR. Upload your own image or click any one of the examples, and click " \
190
- "\"Submit\" and then wait for the generated OCR result. "
 
191
  article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
192
  "Repo</a></p> "
193
  examples = [['shupai.png'], ['chinese.jpg'], ['ms2.jpg']]
 
185
  return out_img, result
186
 
187
 
188
+ title = "Chinese OCR"
189
+ description = "Gradio Demo for Chinese OCR. Upload your own image or click any one of the examples, and click " \
190
+ "\"Submit\" and then wait for the generated OCR result. \n " \
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']]