AlekseyCalvin commited on
Commit
03550a8
1 Parent(s): 917d2f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -52,8 +52,11 @@ good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfold
52
  #trust_remote_code=True,
53
  #).to(device)
54
 
55
- pipe = FluxPipeline.from_pretrained("AlekseyCalvin/FluxFusionV2_by_Anibaal_Diffusers", torch_dtype=torch.bfloat16)
56
- pipe.to(device="cuda", dtype=torch.bfloat16)
 
 
 
57
 
58
  clipmodel = 'norm'
59
  if clipmodel == "long":
 
52
  #trust_remote_code=True,
53
  #).to(device)
54
 
55
+ dtype = torch.bfloat16
56
+ base_model = "AlekseyCalvin/Artsy_Lite_Flux_v1_by_jurdn_Diffusers"
57
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=dtype).to("cuda")
58
+ #pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
59
+ torch.cuda.empty_cache()
60
 
61
  clipmodel = 'norm'
62
  if clipmodel == "long":