We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545c504 commit 9ba0b9cCopy full SHA for 9ba0b9c
apps/silero-vad-whisper-realtime-api/src/asr.rs
@@ -76,6 +76,8 @@ pub async fn transcribe_audio(
76
stream: stream_enabled,
77
};
78
79
+ println!("Request: {:?}", request);
80
+
81
// Convert audio to PCM format
82
let pcm_data = match convert_audio_to_pcm(&audio_data).await {
83
Ok(data) => data,
@@ -94,6 +96,8 @@ pub async fn transcribe_audio(
94
96
},
95
97
98
99
+ println!("Audio data length: {:?}", pcm_data.len());
100
101
if request.stream {
102
// Return streaming response
103
let stream = create_transcription_stream(state, pcm_data).await;
0 commit comments