Update app.py
Browse files
app.py
CHANGED
|
@@ -266,7 +266,7 @@ def load_model():
|
|
| 266 |
|
| 267 |
# Load weights
|
| 268 |
model_weights = torch.hub.load_state_dict_from_url(
|
| 269 |
-
"https://huggingface.co/Haitam03/Wav2Vec2-mispronunciation-detector/resolve/main/
|
| 270 |
map_location=device
|
| 271 |
)
|
| 272 |
model.load_state_dict(model_weights)
|
|
|
|
| 266 |
|
| 267 |
# Load weights
|
| 268 |
model_weights = torch.hub.load_state_dict_from_url(
|
| 269 |
+
"https://huggingface.co/Haitam03/Wav2Vec2-mispronunciation-detector/resolve/main/best_mode_full_data.pt",
|
| 270 |
map_location=device
|
| 271 |
)
|
| 272 |
model.load_state_dict(model_weights)
|