Spaces:
Running
Running
Mahiruoshi
commited on
Commit
•
b5d3385
1
Parent(s):
34369ea
Update app.py
Browse files
app.py
CHANGED
@@ -347,7 +347,7 @@ def infer_simple(
|
|
347 |
if __name__ == "__main__":
|
348 |
languages = [ "Auto", "ZH", "JP"]
|
349 |
modelPaths = []
|
350 |
-
for dirpath, dirnames, filenames in os.walk('Data/
|
351 |
for filename in filenames:
|
352 |
modelPaths.append(os.path.join(dirpath, filename))
|
353 |
hps = utils.get_hparams_from_file('Data/Chinese/config.json')
|
|
|
347 |
if __name__ == "__main__":
|
348 |
languages = [ "Auto", "ZH", "JP"]
|
349 |
modelPaths = []
|
350 |
+
for dirpath, dirnames, filenames in os.walk('Data/Chinese/models/'):
|
351 |
for filename in filenames:
|
352 |
modelPaths.append(os.path.join(dirpath, filename))
|
353 |
hps = utils.get_hparams_from_file('Data/Chinese/config.json')
|