Spaces:
Runtime error
Runtime error
linjieccc
commited on
Commit
•
17ed041
1
Parent(s):
01bf385
Update
Browse files- app.py +6 -0
- header.html +3 -4
- statements.png +3 -0
app.py
CHANGED
@@ -40,6 +40,10 @@ examples = [
|
|
40 |
"license.jpeg",
|
41 |
"Name;DOB;ISS;EXP",
|
42 |
],
|
|
|
|
|
|
|
|
|
43 |
[
|
44 |
"invoice.jpeg",
|
45 |
"名称;纳税人识别号;开票日期",
|
@@ -57,6 +61,7 @@ examples = [
|
|
57 |
example_files = {
|
58 |
"Name;Title;Web Link;Email;Address": "business_card.png",
|
59 |
"Name;DOB;ISS;EXP": "license.jpeg",
|
|
|
60 |
"职位;年龄;学校|时间;学校|专业": "resume.png",
|
61 |
"收发货人;进口口岸;进口日期;运输方式;征免性质;境内目的地;运输工具名称;包装种类;件数;合同协议号": "custom.jpeg",
|
62 |
"名称;纳税人识别号;开票日期": "invoice.jpeg",
|
@@ -68,6 +73,7 @@ lang_map = {
|
|
68 |
"business_card.png": "en",
|
69 |
"invoice.jpeg": "ch",
|
70 |
"license.jpeg": "en",
|
|
|
71 |
}
|
72 |
|
73 |
def dbc2sbc(s):
|
|
|
40 |
"license.jpeg",
|
41 |
"Name;DOB;ISS;EXP",
|
42 |
],
|
43 |
+
[
|
44 |
+
"statements.png",
|
45 |
+
"Date|Gross profit",
|
46 |
+
],
|
47 |
[
|
48 |
"invoice.jpeg",
|
49 |
"名称;纳税人识别号;开票日期",
|
|
|
61 |
example_files = {
|
62 |
"Name;Title;Web Link;Email;Address": "business_card.png",
|
63 |
"Name;DOB;ISS;EXP": "license.jpeg",
|
64 |
+
"Date|Gross profit": "statements.png",
|
65 |
"职位;年龄;学校|时间;学校|专业": "resume.png",
|
66 |
"收发货人;进口口岸;进口日期;运输方式;征免性质;境内目的地;运输工具名称;包装种类;件数;合同协议号": "custom.jpeg",
|
67 |
"名称;纳税人识别号;开票日期": "invoice.jpeg",
|
|
|
73 |
"business_card.png": "en",
|
74 |
"invoice.jpeg": "ch",
|
75 |
"license.jpeg": "en",
|
76 |
+
"statements.png": "en",
|
77 |
}
|
78 |
|
79 |
def dbc2sbc(s):
|
header.html
CHANGED
@@ -15,8 +15,7 @@
|
|
15 |
UIE-X
|
16 |
</h1></a>
|
17 |
</div>
|
18 |
-
|
19 |
-
<img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=PaddlePaddle&repo=PaddleNLP" />
|
20 |
-
</a>
|
21 |
-
<a href="https://github.com/PaddlePaddle/PaddleNLP"><img src="https://user-images.githubusercontent.com/40840292/207606629-22da5e22-68e5-47a6-aafd-87d3d7447793.png" width="100%"></a>
|
22 |
</div>
|
|
|
15 |
UIE-X
|
16 |
</h1></a>
|
17 |
</div>
|
18 |
+
<a href="https://github.com/PaddlePaddle/PaddleNLP">
|
19 |
+
<img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=PaddlePaddle&repo=PaddleNLP&show_owner=True" />
|
20 |
+
</a>
|
|
|
21 |
</div>
|
statements.png
ADDED
Git LFS Details
|