Izac commited on
Commit
dca9b0a
·
verified ·
1 Parent(s): d0dd877

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ class LazyLoadPipeline:
72
  @timer_func
73
  def setup_pipeline(self):
74
  print("Setting up the pipeline...")
75
- controlnet = ControlNetModel(
76
  "models/ControlNet/control_v11f1e_sd15_tile.pth", torch_dtype=torch.float16
77
  )
78
  safety_checker = None
 
72
  @timer_func
73
  def setup_pipeline(self):
74
  print("Setting up the pipeline...")
75
+ controlnet = ControlNetModel.from_single_file(
76
  "models/ControlNet/control_v11f1e_sd15_tile.pth", torch_dtype=torch.float16
77
  )
78
  safety_checker = None