Ryouko65777
commited on
Commit
•
0c8a1f4
1
Parent(s):
e04ae6e
Update README.md
Browse files
README.md
CHANGED
@@ -81,18 +81,13 @@ This LoRA extension follows the **FLUX-1-dev Non-Commercial License**.
|
|
81 |
Below is an example of how to use the FLUX Uncensored LoRA v2 with the `diffusers` library:
|
82 |
|
83 |
```python
|
84 |
-
from diffusers import
|
85 |
-
import torch
|
86 |
|
87 |
-
|
88 |
-
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
# Generate an image with an uncensored NSFW prompt
|
94 |
-
image = pipeline('a naked cute girl').images[0]
|
95 |
-
image.show()
|
96 |
```
|
97 |
|
98 |
# Check out more AI tools and models at [EnhanceAI](https://enhanceai.art)
|
|
|
81 |
Below is an example of how to use the FLUX Uncensored LoRA v2 with the `diffusers` library:
|
82 |
|
83 |
```python
|
84 |
+
from diffusers import DiffusionPipeline
|
|
|
85 |
|
86 |
+
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
|
87 |
+
pipe.load_lora_weights("Ryouko65777/Flux-Uncensored-V2")
|
88 |
|
89 |
+
prompt = "nsfw nude woman on beach, sunset, long flowing hair, sensual pose"
|
90 |
+
image = pipe(prompt).images[0]
|
|
|
|
|
|
|
|
|
91 |
```
|
92 |
|
93 |
# Check out more AI tools and models at [EnhanceAI](https://enhanceai.art)
|