Staticaliza commited on
Commit
0dab33c
·
verified ·
1 Parent(s): bd56c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ repo_nsfw_classifier = pipeline("image-classification", model="Falconsai/nsfw_im
45
 
46
  repo_default = DiffusionPipeline.from_pretrained("fluently/Fluently-XL-Final", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
47
 
48
- repo_large = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", device=DEVICE, torch_dtype=torch.bfloat16, add_watermarker=False, revision="refs/pr/1")
49
  # repo_large.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
50
  # repo_large.set_adapters(["base"], adapter_weights=[0.7])
51
 
@@ -54,7 +54,7 @@ repo_customs = {
54
  "Realistic": DiffusionPipeline.from_pretrained("ehristoforu/Visionix-alpha", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
55
  "Anime": DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
56
  "Pixel": repo_default,
57
- "Large": repo_neo,
58
  }
59
 
60
  # Functions
 
45
 
46
  repo_default = DiffusionPipeline.from_pretrained("fluently/Fluently-XL-Final", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
47
 
48
+ # repo_large = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", device=DEVICE, torch_dtype=torch.bfloat16, add_watermarker=False, revision="refs/pr/1")
49
  # repo_large.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
50
  # repo_large.set_adapters(["base"], adapter_weights=[0.7])
51
 
 
54
  "Realistic": DiffusionPipeline.from_pretrained("ehristoforu/Visionix-alpha", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
55
  "Anime": DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", device=DEVICE, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False),
56
  "Pixel": repo_default,
57
+ # "Large": repo_neo,
58
  }
59
 
60
  # Functions