Explorar o código

Merge pull request #709 from ollama-webui/whisper

fix
Timothy Jaeryang Baek hai 1 ano
pai
achega
db2336e086
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -156,7 +156,7 @@
 		} else {
 			isRecording = true;
 
-			if ($settings?.voice?.STTEngine ?? '' !== '') {
+			if ($settings?.audio?.STTEngine ?? '' !== '') {
 				startRecording();
 			} else {
 				if ('SpeechRecognition' in window || 'webkitSpeechRecognition' in window) {