Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion

Updated the sample code

#58

People often just copy and paste the example code to run, but they will encounter "torch not found" error. This PR added torch import to make it smoother to copy and run.

patrickvonplaten changed pull request status to merged
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment