jiuface commited on
Commit
9a9c57b
1 Parent(s): 36ffd3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=t
42
 
43
 
44
  pipe = FluxControlNetInpaintPipeline.from_pretrained(base_model, controlnet=controlnet, torch_dtype=torch.bfloat16).to(device)
45
- pipe.__class__.load_lora_into_transformer = classmethod(load_lora_into_transformer)
46
 
47
  # pipe.enable_model_cpu_offload() # for saving memory
48
 
 
42
 
43
 
44
  pipe = FluxControlNetInpaintPipeline.from_pretrained(base_model, controlnet=controlnet, torch_dtype=torch.bfloat16).to(device)
45
+ # pipe.__class__.load_lora_into_transformer = classmethod(load_lora_into_transformer)
46
 
47
  # pipe.enable_model_cpu_offload() # for saving memory
48