ied
>>> generator.to("cuda")
Now you can use the generator on your text prompt:


	Copied
>>> image = generator("An image of a squirrel in Picasso style").images[0]
The output is by default wrapped into a PIL.Image object.
You can save the image by calling:


	Copied
>>> image.save("image_of_squirrel_painting.png")
Try out the Spaces below, and feel free to play around with the guidance scale parameter to see how it affects the image quality!
