multimodalart HF staff commited on
Commit
877d523
1 Parent(s): 9098160

Update webgui.py

Browse files
Files changed (1) hide show
  1. webgui.py +1 -1
webgui.py CHANGED
@@ -122,7 +122,7 @@ else:
122
  denoising_unet.load_state_dict(torch.load(config.denoising_unet_path, map_location="cpu"), strict=False)
123
 
124
  ## face locator init
125
- face_locator = FaceLocator(320, conditioning_channels=1, block_out_channels=(16, 32, 96, 256)).to(dtype=weight_dtype, device="cuda")
126
  face_locator.load_state_dict(torch.load(config.face_locator_path, map_location='cpu'))
127
 
128
  ## load audio processor params
 
122
  denoising_unet.load_state_dict(torch.load(config.denoising_unet_path, map_location="cpu"), strict=False)
123
 
124
  ## face locator init
125
+ face_locator = FaceLocator(320, conditioning_channels=1, block_out_channels=(16, 32, 96, 256)).to("cuda", dtype=weight_dtype)
126
  face_locator.load_state_dict(torch.load(config.face_locator_path, map_location='cpu'))
127
 
128
  ## load audio processor params