From c111257167a19d1f5ea00420efddd4d5e030b35b Mon Sep 17 00:00:00 2001 From: CJTdesheng <52714984+CJTdesheng@users.noreply.github.com> Date: Thu, 23 Oct 2025 15:38:10 +0800 Subject: [PATCH] add logging --- python/core/components/v2/asr/component.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/core/components/v2/asr/component.py b/python/core/components/v2/asr/component.py index e5ebe08e..2dab47c7 100644 --- a/python/core/components/v2/asr/component.py +++ b/python/core/components/v2/asr/component.py @@ -30,6 +30,7 @@ from appbuilder.core.components.asr.model import ShortSpeechRecognitionRequest, ShortSpeechRecognitionResponse, \ ASRInMsg, ASROutMsg from appbuilder.utils.trace.tracer_wrapper import components_run_trace, components_run_stream_trace +import logging DEFAULT_AUDIO_MAX_DURATION = 55 * 1000 # 55s # 参考短语音极速版API(https://ai.baidu.com/ai-doc/SPEECH/Jlbxdezuf)