Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ DEFAULT_INFERENCE_STEPS = 1
|
|
17 |
# Device and model setup
|
18 |
dtype = torch.float16
|
19 |
pipe = FLUXPipelineWithIntermediateOutputs.from_pretrained(
|
20 |
-
"
|
21 |
).to("cuda")
|
22 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
|
23 |
# pipe.transformer.to(memory_format=torch.channels_last)
|
|
|
17 |
# Device and model setup
|
18 |
dtype = torch.float16
|
19 |
pipe = FLUXPipelineWithIntermediateOutputs.from_pretrained(
|
20 |
+
"ostris/OpenFLUX.1", torch_dtype=dtype
|
21 |
).to("cuda")
|
22 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
|
23 |
# pipe.transformer.to(memory_format=torch.channels_last)
|