subinbabu commited on
Commit
9bfef9a
1 Parent(s): b276714

Update app.py

Browse files

updated for models

Files changed (1) hide show
  1. app.py +3 -2
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)