CiaraRowles commited on
Commit
1ec4516
1 Parent(s): 83eefb3

safetensors ver

Browse files
Files changed (1) hide show
  1. runtemporalnetxl.py +1 -1
runtemporalnetxl.py CHANGED
@@ -66,7 +66,7 @@ controlnet1_path = "CiaraRowles/controlnet-temporalnet-sdxl-1.0"
66
  controlnet2_path = "diffusers/controlnet-canny-sdxl-1.0"
67
 
68
  controlnet = [
69
- ControlNetModel.from_pretrained(controlnet1_path, torch_dtype=torch.float16),
70
  ControlNetModel.from_pretrained(controlnet2_path, torch_dtype=torch.float16)
71
  ]
72
  #controlnet = ControlNetModel.from_pretrained(controlnet2_path, torch_dtype=torch.float16)
 
66
  controlnet2_path = "diffusers/controlnet-canny-sdxl-1.0"
67
 
68
  controlnet = [
69
+ ControlNetModel.from_pretrained(controlnet1_path, torch_dtype=torch.float16,use_safetensors=True),
70
  ControlNetModel.from_pretrained(controlnet2_path, torch_dtype=torch.float16)
71
  ]
72
  #controlnet = ControlNetModel.from_pretrained(controlnet2_path, torch_dtype=torch.float16)