Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ import torch
|
|
5 |
# Load the model
|
6 |
model_id = "s3nh/artwork-arcane-stable-diffusion"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
8 |
-
pipe = pipe.to("cuda")
|
9 |
if pipe.scheduler is not None:
|
10 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
11 |
else:
|
|
|
5 |
# Load the model
|
6 |
model_id = "s3nh/artwork-arcane-stable-diffusion"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
|
|
8 |
if pipe.scheduler is not None:
|
9 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
10 |
else:
|