Ahsen Khaliq commited on
Commit
f211fb5
1 Parent(s): 6f6e791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ def inference(img, lang):
23
  return 'result.jpg'
24
 
25
  title = 'PaddleOCR'
26
- description = 'Gradio demo for PaddleOCR. PaddleOCR demo supports Chinese, English, French, German, Korean and Japanese.To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.'
27
  article = "<p style='text-align: center'><a href='https://www.paddlepaddle.org.cn/hub/scene/ocr'>Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)</a> | <a href='https://github.com/PaddlePaddle/PaddleOCR'>Github Repo</a></p>"
28
- examples = [['example.jpg']]
29
  css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
30
  gr.Interface(
31
  inference,
 
23
  return 'result.jpg'
24
 
25
  title = 'PaddleOCR'
26
+ description = 'Gradio demo for PaddleOCR. PaddleOCR demo supports Chinese, English, French, German, Korean and Japanese.To use it, simply upload your image and choose a language from the dropdown menu, or click one of the examples to load them. Read more at the links below.'
27
  article = "<p style='text-align: center'><a href='https://www.paddlepaddle.org.cn/hub/scene/ocr'>Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)</a> | <a href='https://github.com/PaddlePaddle/PaddleOCR'>Github Repo</a></p>"
28
+ examples = [['example.jpg','en']]
29
  css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
30
  gr.Interface(
31
  inference,