Skip to content

Commit

Permalink
Fix setting SenseVoice language. (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Aug 4, 2024
1 parent c2dce19 commit 9caa488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sherpa-onnx/csrc/offline-sense-voice-model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class OfflineSenseVoiceModel::Impl {
SHERPA_ONNX_READ_META_DATA(lang_yue, "lang_yue");

meta_data_.lang2id = {
{"auto", lang_auto}, {"zh", lang_zh}, {"ja", lang_ja},
{"ko", lang_ko}, {"yue", lang_yue},
{"auto", lang_auto}, {"zh", lang_zh}, {"en", lang_en},
{"ja", lang_ja}, {"ko", lang_ko}, {"yue", lang_yue},
};

SHERPA_ONNX_READ_META_DATA_VEC_FLOAT(meta_data_.neg_mean, "neg_mean");
Expand Down

0 comments on commit 9caa488

Please sign in to comment.