Keep speech-to-text and text-to-speech on the machine so only text travels to the backend while the backend still speaks JSON to Ollama.
12 lines
528 B
TOML
12 lines
528 B
TOML
# Configuration appliquée automatiquement par `cargo` lancé depuis ce dossier.
|
|
#
|
|
# whisper.cpp est livré avec des bindings pré-générés : on évite ainsi d'appeler
|
|
# `bindgen` (donc `libclang`) pour whisper. Cela accélère le build et supprime
|
|
# une cause d'échec.
|
|
#
|
|
# NB : `espeak-ng` (dépendance de Piper) appelle `bindgen` sans option pour le
|
|
# contourner et nécessite donc `libclang` malgré tout. Installer le paquet
|
|
# `clang` (voir le README) : `sudo pacman -S clang`.
|
|
[env]
|
|
WHISPER_DONT_GENERATE_BINDINGS = "1"
|