roman
commited on
Commit
•
441b3c8
1
Parent(s):
9c6f6ce
change model
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import nemo.collections.asr as nemo_asr
|
|
8 |
|
9 |
|
10 |
asr_model = nemo_asr.models.EncDecCTCModelBPE. \
|
11 |
-
from_pretrained("theodotus/
|
12 |
|
13 |
asr_model.preprocessor.featurizer.dither = 0.0
|
14 |
asr_model.preprocessor.featurizer.pad_to = 0
|
|
|
8 |
|
9 |
|
10 |
asr_model = nemo_asr.models.EncDecCTCModelBPE. \
|
11 |
+
from_pretrained("theodotus/stt_uk_squeezeformer_ctc_ml",map_location="cpu")
|
12 |
|
13 |
asr_model.preprocessor.featurizer.dither = 0.0
|
14 |
asr_model.preprocessor.featurizer.pad_to = 0
|