Add OmniVoice TTS module with config, API, profiles and CLI

- Create modules/omnivoice/ with VoiceAPI, VoiceProfiles, CLI
- Add config manager integration with local model support
- Add app/komAI.py entry point
- Add tests/test_omnivoice.py
- Clone OmniVoice to external/ for development
- Add omnivoice config to global.yaml
This commit is contained in:
2026-04-16 17:51:15 +03:00
parent 22b85455e1
commit 55353654b7
11 changed files with 1064 additions and 3 deletions

View File

@@ -9,3 +9,24 @@ logging.log_file: "app.log"
#Путь к директории логов
#logging.log_path: "./log"
logging.log_path: "./log"
# OmniVoice TTS
# Model name on HuggingFace
omnivoice.model_name: "k2-fsa/OmniVoice"
# Local model path (if exists, uses local model)
omnivoice.model_path: "models/OmniVoice"
# Device for inference
omnivoice.device: "cpu"
#omnivoice.device: "cuda:0"
# Data type
#omnivoice.dtype: "float16"
# Diffusion steps
#omnivoice.num_steps: 32
# Speed factor
#omnivoice.speed: 1.0
# Voice profiles directory
omnivoice.profiles_dir: "data/voice_profiles"
# Output directory for audio
omnivoice.output_dir: "output/voice"
# Enable omnivoice module
omnivoice.enabled: true