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 Piper / xVASynth / XTTS (text-to-speech).
https://art-from-the-machine.github.io/Mantella/
GNU Affero General Public License v3.0
191 stars 50 forks source link

Piper gets stuck on a loop when voice model not found #406

Open art-from-the-machine opened 2 months ago

art-from-the-machine commented 2 months ago

If Piper is unable to find a voice model, it will get stuck on a loop trying to load it. To fix this, the list of available models should be pulled into a list by reading Piper's model folder when Mantella starts. This way, if a model is not in the list, Mantella can instead load a generic model for the NPC.

C1obs commented 2 months ago

I'm experiencing the "Could not find voice model..." error within mantella that i use with skyrim. It's great to see that you've identified a potential fix.

I'm wondering if there's any update on when this fix might be implemented into the mod itself? Or, if there's any workaround or temporary solution that end-users could apply?

Thanks for creating such a wonderful mod!

chrisoutwright commented 3 weeks ago

I am missing some models in the folder:

MantellaSoftware\piper\models\skyrim\low

There should be:

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

name | voice_model | bio | bio_url | advanced_voice_model | skyrim_voice_folder | race | gender | species | ref_id | base_id | author | voice_accent | note -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- Delphine | Delphine | Delphine, a Breton woman, owns and runs the Sleeping Giant Inn in Riverwood with, along with a Nord man named Orgnar. ..... | /wiki/Delphine_(Skyrim) | Delphine | FemaleUniqueDelphine | Breton | Female | Human | 13485 | 13478 | Bethesda | fr | Shawn - doneish

but no such voice model I saw in folder..