Spaces:
Sleeping
Sleeping
update
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -65,7 +65,7 @@ def load_models():
|
|
| 65 |
})
|
| 66 |
|
| 67 |
models['bikol'] = FastPitchModel.restore_from(
|
| 68 |
-
"models/
|
| 69 |
override_config_path=override_config,
|
| 70 |
strict=False
|
| 71 |
).to(device)
|
|
@@ -80,7 +80,7 @@ def load_models():
|
|
| 80 |
try:
|
| 81 |
# Load model with map_location to avoid device issues
|
| 82 |
models['bikol'] = FastPitchModel.restore_from(
|
| 83 |
-
"models/
|
| 84 |
map_location=device,
|
| 85 |
strict=False
|
| 86 |
)
|
|
|
|
| 65 |
})
|
| 66 |
|
| 67 |
models['bikol'] = FastPitchModel.restore_from(
|
| 68 |
+
"models/fastpitch_bikol_fixed.nemo",
|
| 69 |
override_config_path=override_config,
|
| 70 |
strict=False
|
| 71 |
).to(device)
|
|
|
|
| 80 |
try:
|
| 81 |
# Load model with map_location to avoid device issues
|
| 82 |
models['bikol'] = FastPitchModel.restore_from(
|
| 83 |
+
"models/fastpitch_bikol_fixed.nemo",
|
| 84 |
map_location=device,
|
| 85 |
strict=False
|
| 86 |
)
|
requirements.txt
CHANGED
|
@@ -31,4 +31,4 @@ webdataset
|
|
| 31 |
matplotlib
|
| 32 |
wrapt
|
| 33 |
wget
|
| 34 |
-
ruamel.
|
|
|
|
| 31 |
matplotlib
|
| 32 |
wrapt
|
| 33 |
wget
|
| 34 |
+
ruamel.yaml==0.17.32
|