Akegarasu / lora-scripts

LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.
GNU Affero General Public License v3.0
4.53k stars 561 forks source link

Enhancement: Open GUI to public URL #126

Closed novitae closed 1 year ago

novitae commented 1 year ago

Some people (as me) are running all of those stable diffusion scripts on distant computers in order to have more performant devices at disposition. Since AUTOMATIC1111/stable-diffusion-webui and bmaltais/kohya_ss are using gradio for their ui, it has a builtin functionality open the link to the public, and create a link as https://af[...]83.gradio.app in order to access it if we're not directly on the computer (so we can't access localhost). I think it would be nice to implement that here. Thanks

eulancer commented 1 year ago

I would also like to get the ability to share to a public link

ai-vip commented 1 year ago

open gui.sh and change the default host

parser.add_argument("--host", type=str, default="0.0.0.0")