art-from-the-machine / Mantella

Mantella is a Skyrim and Fallout 4 mod which allows you to naturally speak to NPCs using Whisper (speech-to-text), LLMs (text generation), and xVASynth / XTTS (text-to-speech).
https://art-from-the-machine.github.io/Mantella/
GNU General Public License v3.0
164 stars 41 forks source link

Better voice model loading #267

Closed art-from-the-machine closed 3 months ago

art-from-the-machine commented 3 months ago

NPC voice models are now loaded at the time of the character being loaded, rather than when they first speak. This allows Mantella to change the NPC's voice model to a generic one if the specified model isn't found.

If no voice models can be loaded, a more helpful error message displays to say as much, rather than giving a generic LLM API error.