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' }; } }