Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Declare connectorSupportsHotwords and connectorSupportsInitialPrompt refs in app.modular.js setup so the data-attribute hydration finds them
Murtaza Nasir213d862d135b
diff --git a/static/js/app.modular.js b/static/js/app.modular.jsindex dd819044..3f5f2727 100644--- a/static/js/app.modular.js+++ b/static/js/app.modular.js@@ -576,6 +576,8 @@ document.addEventListener('DOMContentLoaded', async () => {const useAsrEndpoint = ref(false);const connectorSupportsDiarization = ref(false); // Connector capability for diarization UIconst connectorSupportsSpeakerCount = ref(false); // Connector capability for min/max speakers+ const connectorSupportsHotwords = ref(false); // Connector accepts hotword/keyword biasing+ const connectorSupportsInitialPrompt = ref(false); // Connector accepts initial prompt / context hintconst currentUserName = ref('');const canDeleteRecordings = ref(true);const enableInternalSharing = ref(false);@@ -744,7 +746,7 @@ document.addEventListener('DOMContentLoaded', async () => {openAsrDropdownIndex,// App Config- useAsrEndpoint, connectorSupportsDiarization, connectorSupportsSpeakerCount, currentUserName, canDeleteRecordings, enableInternalSharing, enableArchiveToggle, showUsernamesInUI,+ useAsrEndpoint, connectorSupportsDiarization, connectorSupportsSpeakerCount, connectorSupportsHotwords, connectorSupportsInitialPrompt, currentUserName, canDeleteRecordings, enableInternalSharing, enableArchiveToggle, showUsernamesInUI,// Internal SharingshowUnifiedShareModal, internalShareUserSearch, internalShareSearchResults,