SinaAhmadi
commited on
Commit
•
4e2c70f
1
Parent(s):
e835edc
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ languages_scripts = {
|
|
34 |
|
35 |
def normalize(text, language_script):
|
36 |
|
37 |
-
cfg_file =
|
38 |
ckpt = "./models/%s/best.ckpt"%languages_scripts[language_script]
|
39 |
|
40 |
cfg = load_config(Path(cfg_file))
|
|
|
34 |
|
35 |
def normalize(text, language_script):
|
36 |
|
37 |
+
cfg_file = "./models/%s/config.yaml"%languages_scripts[language_script]
|
38 |
ckpt = "./models/%s/best.ckpt"%languages_scripts[language_script]
|
39 |
|
40 |
cfg = load_config(Path(cfg_file))
|