Update app.py
Browse files
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("whisper_miso/
|
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/pytorch_model.bin", use_auth_token=huggingface_token))
|
33 |
model.eval()
|
34 |
|
35 |
dataset = load_dataset("mskov/miso_test", split="test").cast_column("audio", Audio())
|