Renamed the systemd service from "pockettts" to "vox" for better branding and clarity.
Updated the script to reflect the new service name.
Addressed numba caching issues when running as a systemd service:
- Created to explicitly set to a project-local directory ().
- Modified to import early in the execution flow.
- Updated the systemd service file to grant write permissions to the directory.
- Added to to prevent caching files from being committed.
Improve documentation and add a setup script for easy deployment on Linux systems.
- Update README.md with instructions for the new multi-voice slash commands and the oices/ directory structure.
- Add a comprehensive 'Linux Server Deployment' section to the README, detailing both a quick setup via a new script and a manual systemd service setup.
- Create setup_linux.sh to automate dependency checking, virtual environment creation, and service installation on Linux.
- Revise comments in .env.example for clarity and to reflect the latest configuration options.
Refactor the TTS handling to support multiple, user-selectable voices. This replaces the previous single-voice system.
Key changes:
- Introduce VoiceManager to handle loading and managing voices from a dedicated oices/ directory.
- Add slash commands (/voice list, /set, /current, /refresh) for users to manage their personal TTS voice.
- Implement on-demand voice loading to improve startup time and memory usage.
- Remove the old ts_handler.py and single voice .wav files in favor of the new system.
- Update configuration to specify a voices directory instead of a single file path.