Ryukijano commited on
Commit
3567671
·
verified ·
1 Parent(s): cd3c865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, variant="fp16"
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")