Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ from huggingface_hub import hf_hub_download
|
|
| 26 |
# model = model.cuda()
|
| 27 |
# ddim_sampler = DDIMSampler(model)
|
| 28 |
model = create_model('./models/cldm_v21_512_latctrl_coltrans.yaml')
|
| 29 |
-
ckpt = hf_hub_download(repo_id="xywwww/scene_diffusion", filename="checkpoints/epoch=
|
| 30 |
model.load_state_dict(load_state_dict(ckpt), strict=False)
|
| 31 |
model = model.cuda()
|
| 32 |
ddim_sampler = DDIMSampler(model)
|
|
|
|
| 26 |
# model = model.cuda()
|
| 27 |
# ddim_sampler = DDIMSampler(model)
|
| 28 |
model = create_model('./models/cldm_v21_512_latctrl_coltrans.yaml')
|
| 29 |
+
ckpt = hf_hub_download(repo_id="xywwww/scene_diffusion", filename="checkpoints/epoch=29-step=479999.ckpt")
|
| 30 |
model.load_state_dict(load_state_dict(ckpt), strict=False)
|
| 31 |
model = model.cuda()
|
| 32 |
ddim_sampler = DDIMSampler(model)
|