Error: Can't switch to stt model or lang
user
flatpak run net.mkiol.SpeechNote --print-active-model stt
Active STT model:
en_whisper_distil_small "English (WhisperCpp-Distil Small) / en"
flatpak run net.mkiol.SpeechNote --print-available-models stt
Available STT models: 6
auto_fasterwhisper_small "Auto detected (FasterWhisper Small) / auto"
auto_fasterwhisper_tiny "Auto detected (FasterWhisper Tiny) / auto"
auto_whisper_small "Auto detected (WhisperCpp Small) / auto"
de_whisper_small "Deutsch (WhisperCpp Small) / de"
en_fasterwhisper_distil_small "English (FasterWhisper-Distil Small) / en"
en_whisper_distil_small "English (WhisperCpp-Distil Small) / en"
flatpak run net.mkiol.SpeechNote --action set-stt-model --id de_whisper_small
flatpak run net.mkiol.SpeechNote --print-active-model stt
Active STT model:
en_whisper_distil_small "English (WhisperCpp-Distil Small) / en"
flatpak run net.mkiol.SpeechNote --version
dsnote 4.7.1
process
[D] 06:13:08.399126807.399 0x7a1dd4186d00 () - [dbus app] InvokeAction called: "set-stt-model"
[D] 06:13:08.399193990.399 0x7a1dd4186d00 () - executing action: set-stt-model extra = "{de_whispe"
[W] 06:13:08.399215914.399 0x7a1dd4186d00 () - can't swith to stt model or lang: "{de_whisper_small}"
It seems like the --id parameter is not read out correctly. I've tried different syntax to pass the argument but it always failed.
https://github.com/user-attachments/assets/33bd5312-47e6-4a3e-9e68-4bc3b5f16ea2
Oh no! An obvious bug :( Thanks for reporting.
Do you see any possibility that this could be fixed in a patch release before the next minor release? It's the only thing that keeps me from using the app effectively at the moment because I have to switch between languages many times per day. Happy to contribute to the fix myself if you point me in the right direction. 😊
Sorry for this bug :/
Releasing new official version is a huge overhead, but I may introduce a fix to the beta channel soon. I hope it will work for you.
Fix: be9e7d3b318ec3322ef194ecb872177188bd3ede
Fixed in latest beta.
https://github.com/mkiol/dsnote/issues/223
Tested in beta and working.
Super. Thanks for the confirmation.
Fixed in new official version 4.8.0.