liumaolin commited on
Commit
d0c1c61
·
1 Parent(s): fa296dd

Update performance logging format in TTS player for improved structure and readability

Browse files
src/voice_dialogue/services/audio/player.py CHANGED
@@ -78,7 +78,10 @@ class AudioStreamPlayer(BaseThread):
78
  # audio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)
79
  #
80
  # logger.info(
81
- # f"\n┌───────────────── 性能统计 (任务ID: {voice_task.id}) ─────────────────┐\n"
 
 
 
82
  # f"│ ASR 耗时: {asr_duration:.2f}s\n"
83
  # f"│ LLM 耗时: {llm_duration:.2f}s\n"
84
  # f"│ TTS 耗时: {tts_duration:.2f}s\n"
 
78
  # audio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)
79
  #
80
  # logger.info(
81
+ # f"\n"
82
+ # f"┌───────────────────────── 任务信息 ───────────────────────┐\n"
83
+ # f"│ 任务ID: {voice_task.id}\n"
84
+ # f"├───────────────────────── 性能统计 ────────────────────────┤\n"
85
  # f"│ ASR 耗时: {asr_duration:.2f}s\n"
86
  # f"│ LLM 耗时: {llm_duration:.2f}s\n"
87
  # f"│ TTS 耗时: {tts_duration:.2f}s\n"