Skip to content

Commit 9ba0b9c

Browse files
committed
chore: debug
1 parent 545c504 commit 9ba0b9c

File tree

1 file changed

+4
-0
lines changed
  • apps/silero-vad-whisper-realtime-api/src

1 file changed

+4
-0
lines changed

apps/silero-vad-whisper-realtime-api/src/asr.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ pub async fn transcribe_audio(
7676
stream: stream_enabled,
7777
};
7878

79+
println!("Request: {:?}", request);
80+
7981
// Convert audio to PCM format
8082
let pcm_data = match convert_audio_to_pcm(&audio_data).await {
8183
Ok(data) => data,
@@ -94,6 +96,8 @@ pub async fn transcribe_audio(
9496
},
9597
};
9698

99+
println!("Audio data length: {:?}", pcm_data.len());
100+
97101
if request.stream {
98102
// Return streaming response
99103
let stream = create_transcription_stream(state, pcm_data).await;

0 commit comments

Comments
 (0)