Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ from pathlib import Path
|
|
| 93 |
import espnet_model_zoo
|
| 94 |
|
| 95 |
d = "models--espnet--owsm_v4_medium_1B/snapshots/471418ddaf0b03c9ab1fd75f1f5d26fc3aea3aa9/exp/s2t_train_conv2d8_size1024_e18_d18_mel128_raw_bpe50000/config.yaml"
|
| 96 |
-
p = Path(espnet_model_zoo.__file__)
|
| 97 |
model_root = p / "models--espnet--owsm_v4_medium_1B" / "snapshots"
|
| 98 |
|
| 99 |
# Automatically detect the snapshot hash folder (usually only one exists)
|
|
|
|
| 93 |
import espnet_model_zoo
|
| 94 |
|
| 95 |
d = "models--espnet--owsm_v4_medium_1B/snapshots/471418ddaf0b03c9ab1fd75f1f5d26fc3aea3aa9/exp/s2t_train_conv2d8_size1024_e18_d18_mel128_raw_bpe50000/config.yaml"
|
| 96 |
+
p = Path(espnet_model_zoo.__file__).parent
|
| 97 |
model_root = p / "models--espnet--owsm_v4_medium_1B" / "snapshots"
|
| 98 |
|
| 99 |
# Automatically detect the snapshot hash folder (usually only one exists)
|