Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ repo.git_pull()
|
|
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)
|
25 |
|
26 |
def get_transform(img_size):
|
|
|
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)
|
25 |
|
26 |
def get_transform(img_size):
|