Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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"))
|