BoltzmannEntropy / xtts2-ui

A User Interface for XTTS-2 Text-Based Voice Cloning using only 10 seconds of speech
MIT License
259 stars 42 forks source link

Share or Listen Parameters? #8

Closed lunar-studio closed 10 months ago

lunar-studio commented 10 months ago

Last question: I'm familiar with SD where I'd modify a launch.bat, but is there anywhere I can modify this (either share or listen) so I can work over my network?

lunar-studio commented 10 months ago

To answer my own question (in case it helps anyone else), you would replace the following at the bottom of app.py: app.launch()

with (for "listening" or rather local network sharing): app.launch(server_name="0.0.0.0", server_port=7860)

or for a 72 hour Gradio share (public/Internet facing although I recommend a username and password - obviously change it from the example below): app.launch(auth=("admin", "pass1234"), share=True)

BoltzmannEntropy commented 10 months ago

Thanks!