Spaces:
Runtime error
Runtime error
Commit ·
73eca23
1
Parent(s): 0250758
Update app.py
Browse files45 unmodified lines46474849505152535455569 unmodified lines666768697071727345 unmodified linesdescription = \"""Generate variations on an input image using a fine-tuned version of Stable Diffision.Trained by [Justin Pinkney](https://www.justinpinkney.com) ([@Buntworthy](https://twitter.com/Buntworthy)) at [Lambda](https://lambdalabs.com/)This version has been ported to 🤗 Diffusers library, see more details on how to use this version in the [Lambda Diffusers repo](https://github.com/LambdaLabsML/lambda-diffusers).__For the original training code see [this repo](https://github.com/justinpinkney/stable-diffusion).9 unmodified linesThis is a totally different approach to the img2img script of the original Stable Diffusion and gives very different results.The model was fine tuned on the [LAION aethetics v2 6+ dataset](https://laion.ai/blog/laion-aesthetics/) to accept the new conditioning.Training was done on 4xA6000 GPUs on [Lambda GPU Cloud](https://lambdalabs.com/service/gpu-cloud).More details on the method and training will come in a future blog post."""device = "cuda" if torch.cuda.is_available() else "cpu"45 unmodified lines464748495051525354555657589 unmodified lines686970717273747545 unmodified linesdescription = \"""__Now using Image Variations v2!__Generate variations on an input image using a fine-tuned version of Stable Diffision.Trained by [Justin Pinkney](https://www.justinpinkney.com) ([@Buntworthy](https://twitter.com/Buntworthy)) at [Lambda](https://lambdalabs.com/)This version has been ported to 🤗 Diffusers library, see more details on how to use this version in the [Lambda Diffusers repo](https://github.com/LambdaLabsML/lambda-diffusers).For the original training code see [this repo](https://github.com/justinpinkney/stable-diffusion).9 unmodified linesThis is a totally different approach to the img2img script of the original Stable Diffusion and gives very different results.The model was fine tuned on the [LAION aethetics v2 6+ dataset](https://laion.ai/blog/laion-aesthetics/) to accept the new conditioning.Training was done on 8xA100 GPUs on [Lambda GPU Cloud](https://lambdalabs.com/service/gpu-cloud).More details are on the [model card](https://huggingface.co/lambdalabs/sd-image-variations-diffusers)."""device = "cuda" if torch.cuda.is_available() else "cpu"
app.py+5-3