Robert001 commited on
Commit
9fcaa10
1 Parent(s): 316bfe4

first commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def inpainting(img, res, rand_h, rand_h_1, rand_w, rand_w_1):
77
 
78
 
79
  model = create_model('./models/cldm_v15_unicontrol.yaml').cpu()
80
- model_path = 'https://huggingface.co/Robert001/UniControl-Model/blob/main/unicontrol_v1.1.ckpt'
81
  model.load_state_dict(load_state_dict(model_path, location='cuda'), strict=False)
82
  model = model.cuda()
83
  ddim_sampler = DDIMSampler(model)
 
77
 
78
 
79
  model = create_model('./models/cldm_v15_unicontrol.yaml').cpu()
80
+ model_path = 'https://huggingface.co/Robert001/UniControl-Model/resolve/main/unicontrol_v1.1.ckpt'
81
  model.load_state_dict(load_state_dict(model_path, location='cuda'), strict=False)
82
  model = model.cuda()
83
  ddim_sampler = DDIMSampler(model)