app demo
This commit is contained in:
2
app.py
2
app.py
@@ -129,7 +129,7 @@ if __name__ == "__main__":
|
|||||||
timeshift=1.0
|
timeshift=1.0
|
||||||
)
|
)
|
||||||
ckpt_path = os.path.join(args.ckpt_path, "model.ckpt")
|
ckpt_path = os.path.join(args.ckpt_path, "model.ckpt")
|
||||||
ckpt = torch.load(args.ckpt_path, map_location="cpu")
|
ckpt = torch.load(ckpt_path, map_location="cpu")
|
||||||
denoiser = load_model(ckpt, denoiser)
|
denoiser = load_model(ckpt, denoiser)
|
||||||
denoiser = denoiser.cuda()
|
denoiser = denoiser.cuda()
|
||||||
vae = vae.cuda()
|
vae = vae.cuda()
|
||||||
|
|||||||
Reference in New Issue
Block a user