Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +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=29-step=479999.ckpt")
|
30 |
model.load_state_dict(load_state_dict(ckpt), strict=False)
|
31 |
model = model.cuda()
|
|
|
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=25-step=112553.ckpt")
|
30 |
ckpt = hf_hub_download(repo_id="xywwww/scene_diffusion", filename="checkpoints/epoch=29-step=479999.ckpt")
|
31 |
model.load_state_dict(load_state_dict(ckpt), strict=False)
|
32 |
model = model.cuda()
|