Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ with open('loras.json', 'r') as f:
|
|
38 |
# Initialize the base model
|
39 |
dtype = torch.bfloat16
|
40 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
41 |
-
base_model = "black-forest-labs/FLUX.1-
|
42 |
|
43 |
taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
|
44 |
good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
|
|
|
38 |
# Initialize the base model
|
39 |
dtype = torch.bfloat16
|
40 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
41 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
42 |
|
43 |
taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=dtype).to(device)
|
44 |
good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
|