Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ else:
|
|
18 |
torch_dtype = torch.float32
|
19 |
|
20 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
21 |
-
pipe.scheduler =
|
22 |
pipe.load_lora_weights("artificiallover0/man_asshole")
|
23 |
pipe.fuse_lora()
|
24 |
pipe = pipe.to(device)
|
|
|
18 |
torch_dtype = torch.float32
|
19 |
|
20 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
21 |
+
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
|
22 |
pipe.load_lora_weights("artificiallover0/man_asshole")
|
23 |
pipe.fuse_lora()
|
24 |
pipe = pipe.to(device)
|