Staticaliza commited on
Commit
cd4c68b
·
verified ·
1 Parent(s): 5e2a422

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,13 +52,14 @@ repo_pro = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", tor
52
  repo_pro_dir = "alimama-creative/FLUX.1-Turbo-Alpha"
53
  repo_pro_ckpt = "diffusion_pytorch_model.safetensors"
54
  repo_pro_lora = hf_hub_download(repo_pro_dir, repo_pro_ckpt)
 
55
 
56
  repo_customs = {
57
  "Default": repo_default,
58
  "Realistic": DiffusionPipeline.from_pretrained("ehristoforu/Visionix-alpha", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
59
  "Anime": DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
60
  "Pixel": repo_default,
61
- "Pro": repo_pro.load_lora_weights(repo_pro_lora),
62
  }
63
 
64
  # Functions
 
52
  repo_pro_dir = "alimama-creative/FLUX.1-Turbo-Alpha"
53
  repo_pro_ckpt = "diffusion_pytorch_model.safetensors"
54
  repo_pro_lora = hf_hub_download(repo_pro_dir, repo_pro_ckpt)
55
+ repo_pro.load_lora_weights(repo_pro_lora)
56
 
57
  repo_customs = {
58
  "Default": repo_default,
59
  "Realistic": DiffusionPipeline.from_pretrained("ehristoforu/Visionix-alpha", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
60
  "Anime": DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
61
  "Pixel": repo_default,
62
+ "Pro": repo_pro
63
  }
64
 
65
  # Functions