Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
|
@@ -23,7 +23,8 @@ def load_model(checkpoint_path: str):
|
|
| 23 |
global model
|
| 24 |
model = SSLMOSLightningModule.load_from_checkpoint(
|
| 25 |
checkpoint_path, map_location=device,
|
| 26 |
-
|
|
|
|
| 27 |
ssl_model_type='w2v2',
|
| 28 |
)
|
| 29 |
model.eval()
|
|
|
|
| 23 |
global model
|
| 24 |
model = SSLMOSLightningModule.load_from_checkpoint(
|
| 25 |
checkpoint_path, map_location=device,
|
| 26 |
+
ssl_model_path='',
|
| 27 |
+
pretrained_model_path=None,
|
| 28 |
ssl_model_type='w2v2',
|
| 29 |
)
|
| 30 |
model.eval()
|