Spaces:
Running
Running
update app
Browse files- .gitignore +36 -0
- app.py +2 -1
.gitignore
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
.ipynb_checkpoints/
|
4 |
+
*.py[cod]
|
5 |
+
*$py.class
|
6 |
+
|
7 |
+
# C extensions
|
8 |
+
*.so
|
9 |
+
|
10 |
+
inference/
|
11 |
+
inference_results/
|
12 |
+
output/
|
13 |
+
train_data/
|
14 |
+
log/
|
15 |
+
*.DS_Store
|
16 |
+
*.vs
|
17 |
+
*.user
|
18 |
+
*~
|
19 |
+
*.vscode
|
20 |
+
*.idea
|
21 |
+
|
22 |
+
*.log
|
23 |
+
.clang-format
|
24 |
+
.clang_format.hook
|
25 |
+
|
26 |
+
build/
|
27 |
+
dist/
|
28 |
+
paddleocr.egg-info/
|
29 |
+
/deploy/android_demo/app/OpenCV/
|
30 |
+
/deploy/android_demo/app/PaddleLite/
|
31 |
+
/deploy/android_demo/app/.cxx/
|
32 |
+
/deploy/android_demo/app/cache/
|
33 |
+
test_tipc/web/models/
|
34 |
+
test_tipc/web/node_modules/
|
35 |
+
ppocr/
|
36 |
+
.idea/
|
app.py
CHANGED
@@ -91,7 +91,8 @@ if __name__ == '__main__':
|
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
gr.HTML("""
|
94 |
-
<h1 style='text-align: center;'>OpenOCR</h1>
|
|
|
95 |
with gr.Row():
|
96 |
with gr.Column(scale=1):
|
97 |
input_image = gr.Image(label='Input image',
|
|
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
gr.HTML("""
|
94 |
+
<h1 style='text-align: center;'><a href="https://github.com/Topdu/OpenOCR">OpenOCR</a></h1>
|
95 |
+
<p style='text-align: center;'>A general OCR system with accuracy and efficiency (created by <a href="https://github.com/Topdu/OpenOCR">OCR Team</a>, <a href="https://fvl.fudan.edu.cn">FVL Lab</a>)</p>""")
|
96 |
with gr.Row():
|
97 |
with gr.Column(scale=1):
|
98 |
input_image = gr.Image(label='Input image',
|