TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.4k stars 1.27k forks source link

Local tunnel not working #1472

Open Flaskmor opened 1 year ago

Flaskmor commented 1 year ago

After i select local tunnel nothing ho wrong like the usual but when i try to open the link (that look like the usual) it keep saying connection denied, my connection work could someone help me?

TheLastBen commented 1 year ago

Use gradio server when localtunnel is down

Flaskmor commented 1 year ago

Yeah but local tunnel is the only thing that i can use to connect to things like Hua painting? Because it's 5/6 day that it's not working for me at least

Daviljoe193 commented 1 year ago

Ngrok support would be nice for situations like this. With the localtunnel option turned off, and if you have an Ngrok token, you can (For now) add the following cell to your notebook (Replacing NGROK_TOKEN with your token), which will run, spit out your tunneled URL (Which despite Painthua not saying it, supports Ngrok), and this URL will work once you also get your usual Gradio link. This only needs to be run once.

!pip install -q pyngrok !ngrok authtoken NGROK_TOKEN !nohup ngrok http 7860 --log=stdout & !sleep 2 !tail -n 1 nohup.out | sed 's/.*url=//'

ansel44 commented 1 year ago

Yeah but local tunnel is the only thing that i can use to connect to things like Hua painting? Because it's 5/6 day that it's not working for me at least

have you solved the problem? how to use local tunnel again?