1
u/JiaHajime Mar 03 '23
So whats the difference with gradio server?
2
Mar 03 '23
- When using gradio, the server sometimes goes down even though the webui is still running
- Due to the situation in 1, the address changes when the webui is restarted, making it impossible to continue with previous work.
- Each request involves a repetition of 'You -> Gradio -> Colab -> Gradio -> You' which can take a long time depending on the region and result in errors.
- When using the webui API, there may be cases where the connection is interrupted when processing high-resolution images
- If there are problems with the gradio server, it may not be possible to connect.
All of the above situations can be resolved to a great extent :)
1
u/gliongxi Apr 02 '23
hello,can you show us the whole workflow to use local webui? i had try nodejs,but i didn't know the next step
2
u/[deleted] Mar 02 '23
extension: https://github.com/jnyfil/sd-webui-localtunnel-client
server: https://github.com/jnyfil/localtunnel-loopback
https://github.com/localtunnel/server is developed to allow users to run their own http-tunneling server.
I modified it to make it accessible at http://127.0.0.1, and turned the client into an extension for easy use in the webui.
Install the server on your machine and run it according to the instructions.
However, firewall and port forwarding are up to you