Merge pull request #709 from ollama-webui/whisper

fix
This commit is contained in:
Timothy Jaeryang Baek 2024-02-11 02:27:28 -08:00 committed by GitHub
commit db2336e086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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