feat: tts

This commit is contained in:
Barrett Ruth 2026-03-11 18:52:53 -04:00
parent 8011242194
commit 3b589f54ce
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ bind = , I, exec, hyprctl dispatch submap reset; ctl idle
bind = , K, exec, hyprctl dispatch submap reset; ctl keyboard next bind = , K, exec, hyprctl dispatch submap reset; ctl keyboard next
bind = , M, exec, hyprctl dispatch submap reset; ctl media bind = , M, exec, hyprctl dispatch submap reset; ctl media
bind = , P, exec, hyprctl dispatch submap reset; ctl power 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 = , T, exec, hyprctl dispatch submap reset; theme
bind = , catchall, submap, reset bind = , catchall, submap, reset

View file

@ -9,7 +9,7 @@
let let
whisper = pkgs.whisper-cpp.override { cudaSupport = hostConfig.gpu == "nvidia"; }; whisper = pkgs.whisper-cpp.override { cudaSupport = hostConfig.gpu == "nvidia"; };
modelDir = "${config.home.homeDirectory}/.local/share/whisper-models"; 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}"; modelUrl = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/${model}";
in in
{ {

View file

@ -539,7 +539,7 @@ dictate)
mkdir -p "$dtmp" mkdir -p "$dtmp"
dpid="$dtmp/rec_pid" dpid="$dtmp/rec_pid"
daudio="$dtmp/recording.wav" 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_dir="${XDG_DATA_HOME:-$HOME/.local/share}/whisper-models"
dmodel_file="$dmodel_dir/ggml-$dmodel.bin" dmodel_file="$dmodel_dir/ggml-$dmodel.bin"