feat: tts
This commit is contained in:
parent
8011242194
commit
3b589f54ce
3 changed files with 3 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ bind = , I, exec, hyprctl dispatch submap reset; ctl idle
|
|||
bind = , K, exec, hyprctl dispatch submap reset; ctl keyboard next
|
||||
bind = , M, exec, hyprctl dispatch submap reset; ctl media
|
||||
bind = , P, exec, hyprctl dispatch submap reset; ctl power
|
||||
bind = , S, exec, hyprctl dispatch submap reset; ctl dictate
|
||||
bind = , D, exec, hyprctl dispatch submap reset; ctl dictate
|
||||
bind = , T, exec, hyprctl dispatch submap reset; theme
|
||||
|
||||
bind = , catchall, submap, reset
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
let
|
||||
whisper = pkgs.whisper-cpp.override { cudaSupport = hostConfig.gpu == "nvidia"; };
|
||||
modelDir = "${config.home.homeDirectory}/.local/share/whisper-models";
|
||||
model = "ggml-medium.bin";
|
||||
model = "ggml-large-v3-turbo.bin";
|
||||
modelUrl = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/${model}";
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -539,7 +539,7 @@ dictate)
|
|||
mkdir -p "$dtmp"
|
||||
dpid="$dtmp/rec_pid"
|
||||
daudio="$dtmp/recording.wav"
|
||||
dmodel="${DICTATE_MODEL:-medium}"
|
||||
dmodel="${DICTATE_MODEL:-large-v3-turbo}"
|
||||
dmodel_dir="${XDG_DATA_HOME:-$HOME/.local/share}/whisper-models"
|
||||
dmodel_file="$dmodel_dir/ggml-$dmodel.bin"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue