Spaces:
Sleeping
Sleeping
Commit
·
c674789
1
Parent(s):
231a44f
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from diffusers import StableDiffusionPipeline, DDIMScheduler
|
|
6 |
|
7 |
model_path = "slymnyldrm/dreambooth_usecase_weights"
|
8 |
|
9 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_path, safety_checker=None, torch_dtype=torch.float16).to("cuda")
|
10 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
11 |
pipe.enable_xformers_memory_efficient_attention()
|
12 |
|
|
|
6 |
|
7 |
model_path = "slymnyldrm/dreambooth_usecase_weights"
|
8 |
|
9 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_path, use_safetensors=True, safety_checker=None, torch_dtype=torch.float16).to("cuda")
|
10 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
11 |
pipe.enable_xformers_memory_efficient_attention()
|
12 |
|