Skip to content

Commit

Permalink
Fix MFC examples
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Sep 19, 2023
1 parent 12d0148 commit 5d118b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
project(sherpa-ncnn)

set(SHERPA_NCNN_VERSION "2.1.2")
set(SHERPA_NCNN_VERSION "2.1.3")

# Disable warning about
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ void CRealtimeSpeechRecognitionDlg::InitRecognizer() {
}

SherpaNcnnRecognizerConfig config;
memset(&config, 0, sizeof(config));
config.model_config.num_threads = 1;

config.decoder_config.decoding_method = "greedy_search";
Expand Down

0 comments on commit 5d118b2

Please sign in to comment.