From 56b1604ae6fe1391ef0e09a2a71853b478993a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Fri, 22 May 2026 21:20:24 +0400 Subject: [PATCH] =?UTF-8?q?v72:=20alert=20=D0=BF=D1=80=D0=B8=20=D0=BE?= =?UTF-8?q?=D1=88=D0=B8=D0=B1=D0=BA=D0=B5=20=D1=82=D1=80=D0=B0=D0=BD=D1=81?= =?UTF-8?q?=D0=BA=D1=80=D0=B8=D0=BF=D1=86=D0=B8=D0=B8=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 2 +- js/transcribe.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 4485f9a..f4ac423 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,6 @@ // ---------- Глобальные переменные и инициализация ---------- const GROQ_API_KEY = ''; -const VERSION = 'v71'; +const VERSION = 'v72'; let mediaRecorder, audioChunks = [], userAudioBlob = null, ttsText = ''; let isRecording = false, isAnalyzing = false, micAnalyser = null, micAnimId = null; diff --git a/js/transcribe.js b/js/transcribe.js index f5313db..7653218 100644 --- a/js/transcribe.js +++ b/js/transcribe.js @@ -22,6 +22,7 @@ async function transcribe(blob) { return data.error ? { text: '', error: data.error } : { text: data.text || '', error: null }; } catch(e) { console.log('[HTTP] ERR', e); + alert('Ошибка транскрипции: ' + (e.message || e)); return { text: '', error: 'network' }; } }