Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ def load_model(ckpt_path: str):
|
|
25 |
wav2vec2=wav2vec2,
|
26 |
tokenizer=tokenizer,
|
27 |
feature_extractor=feature_extractor,
|
|
|
28 |
)
|
29 |
|
30 |
return model
|
|
|
25 |
wav2vec2=wav2vec2,
|
26 |
tokenizer=tokenizer,
|
27 |
feature_extractor=feature_extractor,
|
28 |
+
map_location='cpu'
|
29 |
)
|
30 |
|
31 |
return model
|