Browse Source

Merge pull request #709 from ollama-webui/whisper

fix
Timothy Jaeryang Baek 1 year ago
parent
commit
db2336e086
1 changed files with 1 additions and 1 deletions
  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) {