v73: обрезка тишины (начало/конец) → WAV

This commit is contained in:
“Naeel”
2026-05-22 21:27:46 +04:00
parent 6ab7a26bbc
commit f2762b4f0a
4 changed files with 152 additions and 8 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ async function transcribe(blob) {
const tStart = performance.now();
const form = new FormData();
form.append('file', blob, 'audio.webm');
form.append('file', blob, blob.type === 'audio/wav' ? 'audio.wav' : 'audio.webm');
form.append('model', 'whisper-large-v3');
form.append('language', 'it');