weathon commited on
Commit
99bac91
·
verified ·
1 Parent(s): 40ae865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfold
16
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, vae=taef1).to(device)
17
  ds = load_dataset("weathon/anti_aesthetics_dataset_test", split="train[:100]")
18
 
19
- pipe.load_lora_weights("weathon/anti_aesthetics_lora_2", weight_name="checkpoint-2500/pytorch_lora_weights.safetensors")
20
  pipe.to("cuda")
21
 
22
  torch.cuda.empty_cache()
 
16
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, vae=taef1).to(device)
17
  ds = load_dataset("weathon/anti_aesthetics_dataset_test", split="train[:100]")
18
 
19
+ pipe.load_lora_weights("weathon/anti_aesthetics_lora_2", weight_name="checkpoint-1500/pytorch_lora_weights.safetensors")
20
  pipe.to("cuda")
21
 
22
  torch.cuda.empty_cache()