Spaces:
Paused
Paused
Update diffusion_webui/stable_diffusion/inpaint_app.py
Browse files
diffusion_webui/stable_diffusion/inpaint_app.py
CHANGED
@@ -28,8 +28,6 @@ def stable_diffusion_inpaint(
|
|
28 |
torch_dtype=torch.float16,
|
29 |
)
|
30 |
pipe.to("cuda")
|
31 |
-
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
32 |
-
pipe.enable_xformers_memory_efficient_attention()
|
33 |
|
34 |
output = pipe(
|
35 |
prompt=prompt,
|
|
|
28 |
torch_dtype=torch.float16,
|
29 |
)
|
30 |
pipe.to("cuda")
|
|
|
|
|
31 |
|
32 |
output = pipe(
|
33 |
prompt=prompt,
|