Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaYucca committed Jan 9, 2025
1 parent 85600ea commit 195e25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/offline-whisper-model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class OfflineWhisperModel::Impl {
}

// 记录调试信息
if (debug_) {
if (config_.debug) {
for (const auto &lang_prob : language_probs) {
SHERPA_ONNX_LOGE("Language: %s, Probability: %f", lang_prob.first.c_str(), lang_prob.second);
}
Expand Down

0 comments on commit 195e25c

Please sign in to comment.