Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -22,6 +22,7 @@ def load_model(checkpoint_path: str):
|
|
22 |
global model
|
23 |
model = SSLMOSLightningModule.load_from_checkpoint(
|
24 |
checkpoint_path, map_location=device,
|
|
|
25 |
ssl_model_type='w2v2',
|
26 |
)
|
27 |
model.eval()
|
|
|
22 |
global model
|
23 |
model = SSLMOSLightningModule.load_from_checkpoint(
|
24 |
checkpoint_path, map_location=device,
|
25 |
+
pretrained_model_path='',
|
26 |
ssl_model_type='w2v2',
|
27 |
)
|
28 |
model.eval()
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
|
2 |
|
|
|
1 |
+
git+https://github.com/sarulab-speech/msr-utmos.git#egg=sfi_utmos
|
2 |
|