Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ noise_scheduler = DDIMScheduler(
|
|
170 |
# noise_scheduler = UniPCMultistepScheduler.from_config(args.pretrained_model_name_or_path, subfolder="scheduler")
|
171 |
|
172 |
control_net_openpose = ControlNetModel.from_pretrained(
|
173 |
-
"/
|
174 |
torch_dtype=torch.float16).to(device=args.device)
|
175 |
# pipe = PipIpaControlNet(unet=unet, reference_unet=ref_unet, vae=vae, tokenizer=tokenizer,
|
176 |
# text_encoder=text_encoder, image_encoder=image_encoder,
|
|
|
170 |
# noise_scheduler = UniPCMultistepScheduler.from_config(args.pretrained_model_name_or_path, subfolder="scheduler")
|
171 |
|
172 |
control_net_openpose = ControlNetModel.from_pretrained(
|
173 |
+
"./ckpt/control_v11p_sd15_openpose",
|
174 |
torch_dtype=torch.float16).to(device=args.device)
|
175 |
# pipe = PipIpaControlNet(unet=unet, reference_unet=ref_unet, vae=vae, tokenizer=tokenizer,
|
176 |
# text_encoder=text_encoder, image_encoder=image_encoder,
|