Engineer-of-Stuff / stable-diffusion-paperspace

Jupyter notebooks for Paperspace.
The Unlicense
289 stars 110 forks source link

After the update, the webpage cannot save the picture #49

Closed start1002 closed 1 year ago

start1002 commented 1 year ago

QQ截图20230101174454 QQ截图20230101174643 As shown in the figure, after the image is generated, it disappears, and the entire page stops responding. Clicking the Generate button again does not respond. How can I solve this problem?

PS: I can't speak English, so I can only use machine translation. I'm sorry if it bothers your reading.

Cyberes commented 1 year ago

You just encountered the infamous Gradio bug. Basically, Gradio runs a reverse proxy service that connects your WebUI interface to the internet. Unfortunately, their proxy service is really shitty and can't proxy a file larger than 2MB. The WebUI program integrates ngrok to fix this issue.

Unfortunately, Paperspace locks your account for using any tunneling proxy service such as ngrok (who knows how many they explicitly ban). There is literally no easy solution for this. Personally, what I do is run a rathole server on a $5 DigitalOcean cloud VPS which I've had great success with. You've got to host your own server that Paperspace doesn't know about.

Here's some more tunneling proxy servers: https://github.com/anderspitman/awesome-tunneling

I'm sorry, but you're on your own with this.

https://github.com/Engineer-of-Stuff/stable-diffusion-paperspace/blob/7b17e4965ad72f73dbf06b72b0158f94d8c48e68/docs/Tunneling%20Proxy%20for%20Paperspace.md

ShadeRedeye commented 1 year ago

try rollback gradio in requirement file to 3.9 and it should be work.

Cyberes commented 1 year ago

https://github.com/Engineer-of-Stuff/stable-diffusion-paperspace/blob/7b17e4965ad72f73dbf06b72b0158f94d8c48e68/docs/Tunneling%20Proxy%20for%20Paperspace.md

ShadeRedeye commented 1 year ago

it's already fixed for me,try this new method that recently commit by auto, --gradio-queue,also to make sure remove --gradio-debug,since it break progress bar for ui

Cyberes commented 1 year ago

I was wondering why the progress bar was broken!