Spaces:
Running on Zero
Running on Zero
[Admin maintenance] Support new ZeroGPU hardware
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ ENHANCE_STEPS = 2 # Fixed steps for the enhance button
|
|
| 26 |
dtype = torch.float16
|
| 27 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 28 |
|
| 29 |
-
pipe = FluxWithCFGPipeline.from_pretrained("
|
| 30 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype)
|
| 31 |
|
| 32 |
pipe.to(device)
|
|
|
|
| 26 |
dtype = torch.float16
|
| 27 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 28 |
|
| 29 |
+
pipe = FluxWithCFGPipeline.from_pretrained("nick911/flux1-schnell-normal", torch_dtype=dtype)
|
| 30 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype)
|
| 31 |
|
| 32 |
pipe.to(device)
|