Remove redundant function call

This commit is contained in:
Seunghyun Lee 2025-10-11 01:20:28 +09:00
parent 4f59ca3c8c
commit a5baab956c
1 changed files with 1 additions and 1 deletions

View File

@ -6805,7 +6805,7 @@ int whisper_full_with_state(
state->lang_id = lang_id;
params.language = whisper_lang_str(lang_id);
WHISPER_LOG_INFO("%s: auto-detected language: %s (p = %f)\n", __func__, params.language, probs[whisper_lang_id(params.language)]);
WHISPER_LOG_INFO("%s: auto-detected language: %s (p = %f)\n", __func__, params.language, probs[lang_id]);
const auto & sorted_logits_id = state->decoders[0].logits_id;
for (const auto & prob : sorted_logits_id) {
const auto lang_id = prob.second;