woods-today commited on
Commit
de8b3c6
1 Parent(s): 2768c0c

Working on it

Browse files
Files changed (1) hide show
  1. routers/training.py +4 -1
routers/training.py CHANGED
@@ -8,7 +8,10 @@ import utils
8
  import torch
9
  from diffusers import StableDiffusionPipeline
10
 
11
- pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16)
 
 
 
12
  pipe = pipe.to("cuda")
13
 
14
 
 
8
  import torch
9
  from diffusers import StableDiffusionPipeline
10
 
11
+ from diffusers import DiffusionPipeline
12
+
13
+ pipe = DiffusionPipeline.from_pretrained("radames/stable-diffusion-v1-5-img2img")
14
+ # pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16)
15
  pipe = pipe.to("cuda")
16
 
17