Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdated for models
app.py
CHANGED
@@ -15,10 +15,11 @@ repo = Repository(
|
|
15 |
clone_from="docparser/captcha",
|
16 |
token=True
|
17 |
)
|
18 |
-
repo.git_pull()
|
19 |
|
20 |
cwd = pathlib.Path(__file__).parent.resolve()
|
21 |
-
model_file = os.path.join(cwd,"secret_models","captcha.onnx")
|
|
|
22 |
img_size = (32,128)
|
23 |
charset = r"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
|
24 |
tokenizer_base = Tokenizer(charset)
|
|
|
15 |
clone_from="docparser/captcha",
|
16 |
token=True
|
17 |
)
|
18 |
+
#repo.git_pull()
|
19 |
|
20 |
cwd = pathlib.Path(__file__).parent.resolve()
|
21 |
+
#model_file = os.path.join(cwd,"secret_models","captcha.onnx")
|
22 |
+
model_file = os.path.join(cwd,"captcha.onnx")
|
23 |
img_size = (32,128)
|
24 |
charset = r"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
|
25 |
tokenizer_base = Tokenizer(charset)
|