Spaces:
Runtime error
Runtime error
efengx
commited on
Commit
·
5a045fe
1
Parent(s):
e4e807d
fix: update
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import base64
|
|
6 |
from st_clickable_images import clickable_images
|
7 |
|
8 |
if "language" not in st.session_state:
|
9 |
-
st.session_state.language=['en']
|
10 |
|
11 |
if "output_text" not in st.session_state:
|
12 |
st.session_state.output_text=""
|
@@ -65,11 +65,12 @@ with st.container():
|
|
65 |
st.header("Rjxai v4")
|
66 |
st.subheader("Extract Text from Images")
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
73 |
|
74 |
uploaded_file=st.file_uploader(
|
75 |
label = "Upload your image here: png, jpg, jpeg",
|
|
|
6 |
from st_clickable_images import clickable_images
|
7 |
|
8 |
if "language" not in st.session_state:
|
9 |
+
st.session_state.language=['ch_tra', 'en']
|
10 |
|
11 |
if "output_text" not in st.session_state:
|
12 |
st.session_state.output_text=""
|
|
|
65 |
st.header("Rjxai v4")
|
66 |
st.subheader("Extract Text from Images")
|
67 |
|
68 |
+
# 参考:https://github.com/JaidedAI/EasyOCR/issues/989
|
69 |
+
# st.multiselect(
|
70 |
+
# 'Select extract language',
|
71 |
+
# ['en', 'ch_sim', 'ch_tra', 'ja', 'es', 'fr', 'fa'],
|
72 |
+
# key="language"
|
73 |
+
# )
|
74 |
|
75 |
uploaded_file=st.file_uploader(
|
76 |
label = "Upload your image here: png, jpg, jpeg",
|
temp.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dccb74855781bced5297a5e751407fac783aad013392aa82e325f177ce955e23
|
3 |
+
size 10551296
|