Spaces:
Runtime error
Runtime error
Update app.py
Browse files18 unmodified lines1920212223242518 unmodified linespipe = FLUXPipelineWithIntermediateOutputs.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to("cuda")pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16)torch.cuda.empty_cache()# Inference function18 unmodified lines1920212223242518 unmodified linespipe = FLUXPipelineWithIntermediateOutputs.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to("cuda")pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")torch.cuda.empty_cache()# Inference function
app.py+1-1