John6666 commited on
Commit
c109ec0
·
verified ·
1 Parent(s): 3c7efe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ with open('loras.json', 'r') as f:
21
  # Initialize the base model
22
  dtype = torch.bfloat16
23
  device = "cuda" if torch.cuda.is_available() else "cpu"
24
- base_model = "black-forest-labs/FLUX.1-dev"
 
25
 
26
  taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
27
  good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
 
21
  # Initialize the base model
22
  dtype = torch.bfloat16
23
  device = "cuda" if torch.cuda.is_available() else "cpu"
24
+ #base_model = "black-forest-labs/FLUX.1-dev"
25
+ base_model = "camenduru/FLUX.1-dev-diffusers"
26
 
27
  taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
28
  good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)