mskov commited on
Commit
eec6bed
β€’
1 Parent(s): db2e209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ feature_extractor = AutoFeatureExtractor.from_pretrained("mskov/whisper_miso", u
29
 
30
  model_config = WhisperConfig.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
31
  model = WhisperModel(config=model_config)
32
- model.load_state_dict(torch.load("mskov/whisper_miso/pytorch_model.bin"))
33
  model.eval()
34
 
35
  dataset = load_dataset("mskov/miso_test", split="test").cast_column("audio", Audio())
 
29
 
30
  model_config = WhisperConfig.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
31
  model = WhisperModel(config=model_config)
32
+ model.load_state_dict(torch.load("mskov/whisper_miso"))
33
  model.eval()
34
 
35
  dataset = load_dataset("mskov/miso_test", split="test").cast_column("audio", Audio())