diff --git a/system/tts_generator/tts_generator.html b/system/tts_generator/tts_generator.html index 6cecaa2..df8ff7b 100644 --- a/system/tts_generator/tts_generator.html +++ b/system/tts_generator/tts_generator.html @@ -725,6 +725,16 @@ + +
Page 1 of X @@ -902,7 +912,8 @@ // If the server confirms the data was saved successfully, trigger analysis if (saveData.message === "Data saved successfully") { const accuracy = parseInt(document.getElementById('AnalyzeAccuracy').value) || 98; - const analyzeResponse = await fetch(`/api/trigger-analysis?threshold=${accuracy}`); + const whisperModel = document.getElementById('whisperModel').value; + const analyzeResponse = await fetch(`/api/trigger-analysis?threshold=${accuracy}&whisper_model=${whisperModel}`); const analyzeData = await analyzeResponse.json(); if (analyzeData.summary.flagged_ids && analyzeData.summary.flagged_ids.length > 0) { // Update the global problematicIds array with the new flagged IDs