prithivMLmods commited on
Commit
93f2d81
·
verified ·
1 Parent(s): 1563dac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ model_file = hf_hub_download(
26
 
27
  sstate_dict = load_state_dict(model_file)
28
  model, _, _, _, _ = ControlNetModel_Union._load_pretrained_model(
29
- controlnet_model, state_dict, model_file, "xinsir/controlnet-union-sdxl-1.0"
30
  )
31
  model.to(device="cuda", dtype=torch.float16)
32
  #----------------------
 
26
 
27
  sstate_dict = load_state_dict(model_file)
28
  model, _, _, _, _ = ControlNetModel_Union._load_pretrained_model(
29
+ controlnet_model, sstate_dict, model_file, "xinsir/controlnet-union-sdxl-1.0"
30
  )
31
  model.to(device="cuda", dtype=torch.float16)
32
  #----------------------