Spaces:
Runtime error
Runtime error
first commit
Browse files
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/
|
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)
|