Wataru commited on
Commit
c9914a1
·
1 Parent(s): 70722dd
Files changed (1) hide show
  1. app.py +2 -1
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
- pretrained_model_path='',
 
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()