Skip to content

Commit 237bffe

Browse files
committed
333
1 parent 2e162bb commit 237bffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sherpa-rs/src/sense_voice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl SenseVoiceRecognizer {
100100
let hotwords_file_cstr = config.hotwords_file.map(|f| cstring_from_str(&f));
101101
// Recognizer config
102102
let config = sherpa_rs_sys::SherpaOnnxOfflineRecognizerConfig {
103-
decoding_method: cstring_from_str("greedy_search"),
103+
decoding_method: cstring_from_str("modified_beam_search").as_ptr(),
104104
feat_config: sherpa_rs_sys::SherpaOnnxFeatureConfig {
105105
sample_rate: 16000,
106106
feature_dim: 80,

0 commit comments

Comments
 (0)