multimodalart HF Staff commited on
Commit
9e9bbf6
·
verified ·
1 Parent(s): 4630092

[Admin maintenance] Support new ZeroGPU hardware

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype)
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)