Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
ceadf72
1
Parent(s):
e27906b
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ def inference(img):
|
|
21 |
im_show.save('result.jpg')
|
22 |
return 'result.jpg'
|
23 |
|
24 |
-
|
25 |
title = 'PaddleOCR'
|
26 |
description = 'Gradio demo for PaddleOCR. 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>"
|
@@ -34,5 +33,4 @@ gr.Interface(
|
|
34 |
description=description,
|
35 |
article=article,
|
36 |
examples=examples
|
37 |
-
).launch(debug=True)
|
38 |
-
|
|
|
21 |
im_show.save('result.jpg')
|
22 |
return 'result.jpg'
|
23 |
|
|
|
24 |
title = 'PaddleOCR'
|
25 |
description = 'Gradio demo for PaddleOCR. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.'
|
26 |
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>"
|
|
|
33 |
description=description,
|
34 |
article=article,
|
35 |
examples=examples
|
36 |
+
).launch(debug=True)
|
|