Spaces:
Sleeping
Sleeping
load_model
Browse files
app.py
CHANGED
@@ -18,9 +18,6 @@ def load_model():
|
|
18 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
19 |
"yeq6x/animagine_position_map",
|
20 |
controlnet=ControlNetModel.from_pretrained("yeq6x/Image2PositionColor_v3"),
|
21 |
-
# torch_dtype=torch.float16,
|
22 |
-
use_safetensors=True,
|
23 |
-
# variant="fp16"
|
24 |
).to("cuda")
|
25 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
26 |
|
|
|
18 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
19 |
"yeq6x/animagine_position_map",
|
20 |
controlnet=ControlNetModel.from_pretrained("yeq6x/Image2PositionColor_v3"),
|
|
|
|
|
|
|
21 |
).to("cuda")
|
22 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
23 |
|