Spaces:
Building
on
A10G
Building
on
A10G
Update diffusion_webui/diffusion_models/img2img_app.py
Browse files
diffusion_webui/diffusion_models/img2img_app.py
CHANGED
@@ -21,6 +21,7 @@ class StableDiffusionImage2ImageGenerator:
|
|
21 |
)
|
22 |
|
23 |
self.pipe.model_name = stable_model_path
|
|
|
24 |
self.pipe = get_scheduler(pipe=self.pipe, scheduler=scheduler)
|
25 |
self.pipe.to("cuda")
|
26 |
self.pipe.enable_xformers_memory_efficient_attention()
|
|
|
21 |
)
|
22 |
|
23 |
self.pipe.model_name = stable_model_path
|
24 |
+
self.pipe.scheduler_name = scheduler
|
25 |
self.pipe = get_scheduler(pipe=self.pipe, scheduler=scheduler)
|
26 |
self.pipe.to("cuda")
|
27 |
self.pipe.enable_xformers_memory_efficient_attention()
|