Himanshu-AT commited on
Commit
784ce74
·
1 Parent(s): c6f6d11

remove controlnet

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,10 +16,10 @@ transformer = FluxTransformer2DModel.from_pretrained(
16
  )
17
 
18
  # Build pipeline
19
- controlnet = FluxControlNetModel.from_pretrained("alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta", torch_dtype=torch.bfloat16)
20
  pipe = FluxControlNetInpaintingPipeline.from_pretrained(
21
  "black-forest-labs/FLUX.1-dev",
22
- controlnet=controlnet,
23
  transformer=transformer,
24
  torch_dtype=torch.bfloat16
25
  ).to("cuda")
 
16
  )
17
 
18
  # Build pipeline
19
+ # controlnet = FluxControlNetModel.from_pretrained("alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta", torch_dtype=torch.bfloat16)
20
  pipe = FluxControlNetInpaintingPipeline.from_pretrained(
21
  "black-forest-labs/FLUX.1-dev",
22
+ # controlnet=controlnet,
23
  transformer=transformer,
24
  torch_dtype=torch.bfloat16
25
  ).to("cuda")