AlekseyCalvin commited on
Commit
089f567
·
verified ·
1 Parent(s): 174968d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -24,8 +24,6 @@ with open('loras.json', 'r') as f:
24
  dtype = torch.bfloat16
25
  device = "cuda" if torch.cuda.is_available() else "cpu"
26
  base_model = "John6666/real-flux-10b-schnell-fp8-flux"
27
- pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
28
-
29
  taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
30
  good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
31
  pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=dtype, vae=taef1).to(device)
 
24
  dtype = torch.bfloat16
25
  device = "cuda" if torch.cuda.is_available() else "cpu"
26
  base_model = "John6666/real-flux-10b-schnell-fp8-flux"
 
 
27
  taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
28
  good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
29
  pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=dtype, vae=taef1).to(device)