Staticaliza commited on
Commit
7e8b3b6
·
verified ·
1 Parent(s): 59dd509

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,9 +42,9 @@ footer {
42
  repo_nsfw_classifier = pipeline("image-classification", model="Falconsai/nsfw_image_detection")
43
 
44
  repo_default = DiffusionPipeline.from_pretrained("fluently/Fluently-XL-Final", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
45
- repo.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="default_base")
46
- repo.load_lora_weights("artificialguybr/PixelArtRedmond", adapter_name="pixel_base")
47
- repo.load_lora_weights("nerijs/pixel-art-xl", adapter_name="pixel_base_2")
48
 
49
  # repo_large = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, add_watermarker=False, revision="refs/pr/1")
50
  # repo_large.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
 
42
  repo_nsfw_classifier = pipeline("image-classification", model="Falconsai/nsfw_image_detection")
43
 
44
  repo_default = DiffusionPipeline.from_pretrained("fluently/Fluently-XL-Final", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
45
+ repo_default.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="default_base")
46
+ repo_default.load_lora_weights("artificialguybr/PixelArtRedmond", adapter_name="pixel_base")
47
+ repo_default.load_lora_weights("nerijs/pixel-art-xl", adapter_name="pixel_base_2")
48
 
49
  # repo_large = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, add_watermarker=False, revision="refs/pr/1")
50
  # repo_large.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")