OpenVoiceOS / ovos-tts-plugin-piper

Apache License 2.0
13 stars 9 forks source link

Downloading URLs via "voice" doesn't work #18

Open Nold360 opened 6 months ago

Nold360 commented 6 months ago

I'm trying to install a custom voice model. First i tried installing it locally, but piper still couldn't find then.

So I uploaded it here: https://github.com/Nold360/piper-voice-glados/releases/download/0.1/voice-en-us-glados-high.tar.gz

Inserted the URL in mycroft.conf as "voice", which gives me:

ValueError: invalid voice: https://github.com/Nold360/piper-voice-glados/releases/download/0.1/voice-en-us-glados-high.tar.gz 
builderjer commented 6 months ago

I think this was mentioned in the matrix chats also. From my experience, if you add the voice and url to this function, you can use the name as a value in "voice" and it will auto download the model.

PR's are welcome

dblencowe commented 6 months ago

I'm working on a refactor of the init function here that should allow for fetching of onnx / .gz files that aren't on the model list, I just need to test it