h.


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


	Copied
>>> image = pipeline("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 simply calling:


	Copied
>>> image.save("image_of_squirrel_painting.png")
Note: You can also use the pipeline locally by downloading the weights via:


	Copied
git lfs install
git clone https: