empty cache after generating an image

#587
by vedalken - opened

I found this workaround useful for using the interface locally.
Since i have only a 6GB GPU, i wasn't able to generate multiple images: after empty the cache i was able to generate as many image as i wanted.

I thought that this little trick can be useful for user with modest hardware like me that want to use the code locally.

Hope it helps!

Happy coding :)

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment