csukuangfj
commited on
Commit
•
7fc713f
1
Parent(s):
ae854f0
minor fixes
Browse files- examples.py +2 -2
- model.py +1 -1
examples.py
CHANGED
@@ -25,7 +25,7 @@ examples = [
|
|
25 |
],
|
26 |
[
|
27 |
"English",
|
28 |
-
"
|
29 |
"greedy_search",
|
30 |
4,
|
31 |
"./test_wavs/librispeech/1089-134686-0001.wav",
|
@@ -116,7 +116,7 @@ examples = [
|
|
116 |
],
|
117 |
[
|
118 |
"English",
|
119 |
-
"
|
120 |
"greedy_search",
|
121 |
4,
|
122 |
"./test_wavs/tedlium3/DanielKahneman_2010-157.wav",
|
|
|
25 |
],
|
26 |
[
|
27 |
"English",
|
28 |
+
"whisper-base.en",
|
29 |
"greedy_search",
|
30 |
4,
|
31 |
"./test_wavs/librispeech/1089-134686-0001.wav",
|
|
|
116 |
],
|
117 |
[
|
118 |
"English",
|
119 |
+
"whisper-base.en",
|
120 |
"greedy_search",
|
121 |
4,
|
122 |
"./test_wavs/tedlium3/DanielKahneman_2010-157.wav",
|
model.py
CHANGED
@@ -875,7 +875,7 @@ english_models = {
|
|
875 |
"whisper-tiny.en": _get_whisper_model,
|
876 |
"whisper-base.en": _get_whisper_model,
|
877 |
"whisper-small.en": _get_whisper_model,
|
878 |
-
"whisper-medium.en": _get_whisper_model,
|
879 |
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2": _get_gigaspeech_pre_trained_model, # noqa
|
880 |
"yfyeung/icefall-asr-multidataset-pruned_transducer_stateless7-2023-05-04": _get_english_model, # noqa
|
881 |
"yfyeung/icefall-asr-finetune-mux-pruned_transducer_stateless7-2023-05-19": _get_english_model, # noqa
|
|
|
875 |
"whisper-tiny.en": _get_whisper_model,
|
876 |
"whisper-base.en": _get_whisper_model,
|
877 |
"whisper-small.en": _get_whisper_model,
|
878 |
+
# "whisper-medium.en": _get_whisper_model,
|
879 |
"wgb14/icefall-asr-gigaspeech-pruned-transducer-stateless2": _get_gigaspeech_pre_trained_model, # noqa
|
880 |
"yfyeung/icefall-asr-multidataset-pruned_transducer_stateless7-2023-05-04": _get_english_model, # noqa
|
881 |
"yfyeung/icefall-asr-finetune-mux-pruned_transducer_stateless7-2023-05-19": _get_english_model, # noqa
|