Funk-lab/stt/client/pyproject.toml
ALI YESILKAYA 0b117916be
feat(stt-client): stt --voices / --install-voice (changer de voix Piper) (#56)
Faciliter le changement de voix (le simple --update ne bascule rien : la config
perso prime sur le défaut).

- `stt --voices` : liste les voix Piper FR (homme/femme), URLs vérifiées sur
  HuggingFace rhasspy/piper-voices.
- `stt --install-voice fr_FR-tom-medium` : télécharge .onnx + .onnx.json et
  SÉLECTIONNE la voix (écrit tts_engine=piper + piper_voice dans stt.toml, en
  préservant les autres réglages). Puis `stt --restart`.
- doc : admin/ia/stt.md (note « pourquoi --update ne change pas la voix »).
  Client 0.16.0.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 00:04:09 +02:00

41 lines
1.4 KiB
TOML

[project]
name = "stt"
version = "0.16.0"
description = "STT — client vocal Jarvis du homelab Funk (voix + HUD, parle au STT-server)"
requires-python = ">=3.11"
readme = "README.md"
# Client : voix locale + HUD. L'inférence est déléguée au STT-server (pas d'anthropic/qdrant ici).
dependencies = [
"faster-whisper>=1.0.0", # STT local
"sounddevice>=0.4.6", # capture micro
"numpy>=1.24.0",
"requests>=2.31.0", # appels HTTP vers le STT-server
"webrtcvad-wheels>=2.0.10",# VAD / wake word
"websockets>=12.0", # backend ↔ HUD
"tomli-w>=1.0.0", # écriture config TOML
]
# Backend ASR alternatif (asr_engine="onnx") : NVIDIA Parakeet/Canary/Nemotron en ONNX.
# Hors du core pour garder l'install légère. CPU : onnx ; GPU AMD : onnx-rocm.
[project.optional-dependencies]
onnx = ["onnx-asr>=0.11", "onnxruntime>=1.18"]
onnx-rocm = ["onnx-asr>=0.11", "onnxruntime-rocm>=1.18"]
# TTS Kokoro (tts_engine="kokoro") : voix nettement plus naturelle, ONNX/CPU.
# Modèle téléchargé par `stt --install-kokoro` ; phonémisation FR via espeak-ng (système).
kokoro = ["kokoro-onnx>=0.4.0"]
[project.scripts]
stt = "stt.cli:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["stt*"]
# Le HUD (assets web) est livré comme données du package stt/
[tool.setuptools.package-data]
stt = ["hud/*", "hud/**/*"]