VitoCorleone72 commited on
Commit
1b391eb
·
verified ·
1 Parent(s): e94b8fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -10,7 +10,10 @@ widget:
10
  url: images/00117-[marduk191sFlux1_flux1DevFp8Fp16t5]_3803610404.png
11
  base_model:
12
  - black-forest-labs/FLUX.1-dev
 
13
  instance_prompt: bella
 
 
14
  ---
15
  # Bella
16
 
@@ -21,6 +24,13 @@ instance_prompt: bella
21
 
22
  You should use `bella` to trigger the image generation.
23
 
 
 
 
 
 
 
 
24
 
25
  ## Download model
26
 
 
10
  url: images/00117-[marduk191sFlux1_flux1DevFp8Fp16t5]_3803610404.png
11
  base_model:
12
  - black-forest-labs/FLUX.1-dev
13
+ - xey/sldr_flux_nsfw_v2-studio
14
  instance_prompt: bella
15
+ pipeline_tag: text-to-image
16
+ library_name: diffusers
17
  ---
18
  # Bella
19
 
 
24
 
25
  You should use `bella` to trigger the image generation.
26
 
27
+ from diffusers import DiffusionPipeline
28
+
29
+ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
30
+ pipe.load_lora_weights("xey/sldr_flux_nsfw_v2-studio")
31
+
32
+ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
33
+ image = pipe(prompt).images[0]
34
 
35
  ## Download model
36