sayakpaul HF staff commited on
Commit
889434a
1 Parent(s): 9298044

import torch

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -44,6 +44,7 @@ Running the pipeline (if you don't swap the scheduler it will run with the defau
44
  ```python
45
  from diffusers import DiffusionPipeline
46
  from diffusers.utils import load_image
 
47
 
48
  pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-unclip-small", torch_dtype=torch.float16)
49
  pipe.to("cuda")
 
44
  ```python
45
  from diffusers import DiffusionPipeline
46
  from diffusers.utils import load_image
47
+ import torch
48
 
49
  pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-unclip-small", torch_dtype=torch.float16)
50
  pipe.to("cuda")