Culda commited on
Commit
e42f58a
1 Parent(s): 8bb37ad
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ base_model = "black-forest-labs/FLUX.1-dev"
23
  controlnet_model = "YishaoAI/flux-dev-controlnet-canny-kid-clothes"
24
 
25
  controlnet = FluxControlNetModel.from_pretrained(
26
- controlnet_model, torch_dtype=dtype, device_map="auto"
27
  )
28
  pipe = FluxControlNetInpaintPipeline.from_pretrained(
29
  base_model, controlnet=controlnet, torch_dtype=dtype, device_map="auto"
 
23
  controlnet_model = "YishaoAI/flux-dev-controlnet-canny-kid-clothes"
24
 
25
  controlnet = FluxControlNetModel.from_pretrained(
26
+ controlnet_model, torch_dtype=dtype
27
  )
28
  pipe = FluxControlNetInpaintPipeline.from_pretrained(
29
  base_model, controlnet=controlnet, torch_dtype=dtype, device_map="auto"