v0.2.7

KoljaB/RealtimeTTSv0.2.7Nov 27, 2023by KoljaB

AI Summary

Enhanced Coqui XTTS configuration with options to select specific model versions, set custom local model paths, enable DeepSpeed, and implement custom text preparation callbacks.

Key Highlights

  • Configurable specific model version
  • Local models path configuration
  • DeepSpeed support
  • Custom text preparation callback

New Features

  • Model version selection
  • Custom model paths
  • DeepSpeed integration
  • Custom text prep callback

Full Release Notes

- added specific_model parameter which allows using XTTS model checkpoints like "2.0.2" or "2.0.1"  
  - currently set to "2.0.2" as a default because 2.0.3 seems to perform worse
  - set to None if you want to always use the latest model
- added local_models_path
  - if not specified specific_model models will be loaded in a directory "models" in the script directory 
  - if no specific_model is set it will use coqui's default model directory (users/start/appdata/local/tts under Windows)
- added use_deepspeed parameter in case anybody has it installed
- added prepare_text_for_synthesis_callback parameter in case the default handler for preparing text for synthesis fails (maybe due to using a language I am not familiar with) and you want to implement your own