feishen29 commited on
Commit
06e57b1
·
verified ·
1 Parent(s): 7e882f5

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- "/home/sf/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,
 
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,