Skip to content

Commit

Permalink
Fix Android build (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Jul 22, 2024
1 parent ffdb23a commit 1a47159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/offline-recognizer-impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ std::unique_ptr<OfflineRecognizerImpl> OfflineRecognizerImpl::Create(
if (!config.model_config.nemo_ctc.model.empty() ||
!config.model_config.zipformer_ctc.model.empty() ||
!config.model_config.tdnn.model.empty() ||
!config.model_type.wenet_ctc.model.empty()) {
!config.model_config.wenet_ctc.model.empty()) {
return std::make_unique<OfflineRecognizerCtcImpl>(mgr, config);
}

Expand Down

0 comments on commit 1a47159

Please sign in to comment.