Skip to content

Commit

Permalink
remove extra spaces to pass style-check
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao committed Sep 15, 2024
1 parent 8d8f4c8 commit ff368b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/online-recognizer-ctc-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class OnlineRecognizerCtcImpl : public OnlineRecognizerImpl {
/// assuming tokens_buf and tokens are guaranteed not being both empty
sym_ = SymbolTable(config.model_config.tokens, true);
}

if (!config.model_config.wenet_ctc.model.empty()) {
// WeNet CTC models assume input samples are in the range
// [-32768, 32767], so we set normalize_samples to false
Expand Down
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/online-recognizer-paraformer-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class OnlineRecognizerParaformerImpl : public OnlineRecognizerImpl {
/// assuming tokens_buf and tokens are guaranteed not being both empty
sym_ = SymbolTable(config.model_config.tokens, true);
}

if (config.decoding_method != "greedy_search") {
SHERPA_ONNX_LOGE(
"Unsupported decoding method: %s. Support only greedy_search at "
Expand Down

0 comments on commit ff368b2

Please sign in to comment.