diff --git a/whisperlivekit/web/live_transcription.html b/whisperlivekit/web/live_transcription.html index 8b6c29c..e794686 100644 --- a/whisperlivekit/web/live_transcription.html +++ b/whisperlivekit/web/live_transcription.html @@ -279,7 +279,7 @@
- +
@@ -315,6 +315,10 @@ const linesTranscriptDiv = document.getElementById("linesTranscript"); const timerElement = document.querySelector(".timer"); + const defaultWebSocketUrl = `ws://${window.location.hostname}:${window.location.port}/asr`; + websocketInput.value = defaultWebSocketUrl; + websocketUrl = defaultWebSocketUrl; + chunkSelector.addEventListener("change", () => { chunkDuration = parseInt(chunkSelector.value); });