KingNish commited on
Commit
deb928c
1 Parent(s): c82ffd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ dtype = torch.float16
19
  pipe = FLUXPipelineWithIntermediateOutputs.from_pretrained(
20
  "black-forest-labs/FLUX.1-schnell", torch_dtype=dtype
21
  ).to("cuda")
22
- pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16)
23
  torch.cuda.empty_cache()
24
 
25
  # Inference function
 
19
  pipe = FLUXPipelineWithIntermediateOutputs.from_pretrained(
20
  "black-forest-labs/FLUX.1-schnell", torch_dtype=dtype
21
  ).to("cuda")
22
+ pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
23
  torch.cuda.empty_cache()
24
 
25
  # Inference function