Closed vp2305 closed 5 months ago
The changes primarily refactor how configuration settings are managed in the Glados
and Synthesizer
classes. A new PiperConfig
data class is introduced to handle configuration settings. The Glados
class now takes a voice_model
parameter, allowing more flexible and dynamic handling of voice synthesis models. The Synthesizer
class is updated to load configurations from a JSON file and handle speaker IDs from the configuration.
File | Summary |
---|---|
glados.py |
Refactored to use voice_model parameter in GladosConfig and Glados classes. Added methods for initialization from the configuration. |
glados/config.py |
Introduced new PiperConfig data class and PhonemeType enum class. Added a static from_dict method in PiperConfig . |
glados/tts.py |
Added PiperConfig data class. Updated Synthesizer class to handle JSON configuration and speaker ID. |
glados_config.yml |
Added new settings: voice_model , speaker_id , and modified interruptible . |
In the realm of code so bright, Glados' voice takes flight. Configs now with more finesse, Each change aims to impress. A voice model, clear and right, Speaks with a tone, just the might! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I'm on holiday 2 week now, without my workstation, so I wont be able to test the new code properly (maybe on my macbook, but its a bit slow...).
Sorry if this delays the PR.
Made the following changes:
Summary by CodeRabbit