Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- diffusers
|
10 |
- lora
|
11 |
- replicate
|
12 |
-
base_model: "
|
13 |
pipeline_tag: text-to-image
|
14 |
# widget:
|
15 |
# - text: >-
|
@@ -38,7 +38,7 @@ You should use `rups` to trigger the image generation.
|
|
38 |
from diffusers import AutoPipelineForText2Image
|
39 |
import torch
|
40 |
|
41 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('
|
42 |
pipeline.load_lora_weights('harshasai-dev/rupss', weight_name='lora.safetensors')
|
43 |
image = pipeline('your prompt').images[0]
|
44 |
```
|
|
|
9 |
- diffusers
|
10 |
- lora
|
11 |
- replicate
|
12 |
+
base_model: "John6666/nsfw-master-flux-lora-merged-with-flux1-dev-fp16-v10-fp8-flux"
|
13 |
pipeline_tag: text-to-image
|
14 |
# widget:
|
15 |
# - text: >-
|
|
|
38 |
from diffusers import AutoPipelineForText2Image
|
39 |
import torch
|
40 |
|
41 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('John6666/nsfw-master-flux-lora-merged-with-flux1-dev-fp16-v10-fp8-flux', torch_dtype=torch.float16).to('cuda')
|
42 |
pipeline.load_lora_weights('harshasai-dev/rupss', weight_name='lora.safetensors')
|
43 |
image = pipeline('your prompt').images[0]
|
44 |
```
|