Using different tunnels - NUROISEA/anime-webui-colab GitHub Wiki

image

Tunnel links

Tunnel name Tunnel link format Example image
gradio gradio.live image
ngrok ngrok.io image
cloudflared trycloudflare.com image
localhostrun lhr.life image
remotemoe remote.moe image

Why use a different tunnel?

Gradio has a limitation where the images would not show up if you used hires, since for some reason Gradio has trouble with images larger than 2MB. (this also causes your UI to "lock up", and not be able to do anything.)

Another uncommon occurrences is you would disconnect out of nowhere and it would render the entire UI frozen. You will need to refresh the page and/or restart the cell.

Which tunnel is better?

---->> ngrok <<----

If you don't already have a ngrok token, you can follow this guide.

If you cant be bothered to get an ngrok token, I recommend remotemoe. :)

The other two are okay, but sometimes they might be slow, depending on how far away is the Google Colab servers from your geographical location.

Gradio is fine if you are just doing some quick prompting experiments and don't use high resolutions as often.

ngrok >> remotemoe >> cloudflared or localhostrun >> gradio