linoyts HF staff commited on
Commit
058c742
β€’
1 Parent(s): 325d5c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def process_controlnet_img(image):
15
  controlnet_img = Image.fromarray(controlnet_img)
16
 
17
  # load pipelines
18
- pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev",
19
  torch_dtype=torch.bfloat16)
20
  pipe.enable_model_cpu_offload()
21
  t5_slider = T5SliderFlux(pipe, device=torch.device("cuda"))
 
15
  controlnet_img = Image.fromarray(controlnet_img)
16
 
17
  # load pipelines
18
+ pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell",
19
  torch_dtype=torch.bfloat16)
20
  pipe.enable_model_cpu_offload()
21
  t5_slider = T5SliderFlux(pipe, device=torch.device("cuda"))