Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ DEFAULT_INFERENCE_STEPS = 1
|
|
21 |
# Device and model setup
|
22 |
dtype = torch.bfloat16
|
23 |
pipe = FluxWithCFGPipeline.from_pretrained(
|
24 |
-
"black-forest-labs/FLUX.1-schnell", torch_dtype=dtype, use_safetensors=True
|
25 |
)
|
26 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype, use_safetensors=True, variant="fp16")
|
27 |
pipe.to("cuda")
|
|
|
21 |
# Device and model setup
|
22 |
dtype = torch.bfloat16
|
23 |
pipe = FluxWithCFGPipeline.from_pretrained(
|
24 |
+
"black-forest-labs/FLUX.1-schnell", torch_dtype=dtype, use_safetensors=True
|
25 |
)
|
26 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype, use_safetensors=True, variant="fp16")
|
27 |
pipe.to("cuda")
|