Camb-ai / MARS5-TTS

MARS5 speech model (TTS) from CAMB.AI
https://www.camb.ai
GNU Affero General Public License v3.0
2.53k stars 206 forks source link

Running locally? #51

Closed chrisbward closed 4 months ago

chrisbward commented 4 months ago

Hi - just setting this up on my machine (baremetal / pyenv 3.10) and have just noticed that there is no inference script, jupyter notebook or gradio demo to verify the install?

If I can find the time I would reverse engineer what's happening here to write the script - but do you have this at hand already?

RF5 commented 4 months ago

Hi @chrisbward , a bit unsure what you're looking for? The inference code is given in the inference.py script, and we link a colab jupyter notebook in the readme to load and try it out yourself (link here).

What are you looking for specifically?

pvpshoot commented 4 months ago

i think he want smth like this https://179c54d254f7.ngrok.app/

chrisbward commented 4 months ago

usually it's either a gradio demo (as above), or a command line utility; inference-cli.py --model-path=foo --etc-etc=bar sample text to speak

this is usually a good entrance point to reverse the python code for the casuals (like me)

as an aside - well done for including the python version in the docs (you'd be surprised!)