Update README.md
Browse files
README.md
CHANGED
@@ -9,13 +9,9 @@ tags:
|
|
9 |
- diffusers
|
10 |
- lora
|
11 |
- replicate
|
12 |
-
base_model:
|
|
|
13 |
pipeline_tag: text-to-image
|
14 |
-
# widget:
|
15 |
-
# - text: >-
|
16 |
-
# prompt
|
17 |
-
# output:
|
18 |
-
# url: https://...
|
19 |
instance_prompt: rups
|
20 |
---
|
21 |
|
@@ -38,9 +34,9 @@ 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 |
```
|
45 |
|
46 |
-
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
|
|
9 |
- diffusers
|
10 |
- lora
|
11 |
- replicate
|
12 |
+
base_model:
|
13 |
+
- John6666/fluxunchained-artfulnsfw-fut516xfp8e4m3fnv11-fp8-flux
|
14 |
pipeline_tag: text-to-image
|
|
|
|
|
|
|
|
|
|
|
15 |
instance_prompt: rups
|
16 |
---
|
17 |
|
|
|
34 |
from diffusers import AutoPipelineForText2Image
|
35 |
import torch
|
36 |
|
37 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('John6666/fluxunchained-artfulnsfw-fut516xfp8e4m3fnv11-fp8-flux', torch_dtype=torch.float16).to('cuda')
|
38 |
pipeline.load_lora_weights('harshasai-dev/rupss', weight_name='lora.safetensors')
|
39 |
image = pipeline('your prompt').images[0]
|
40 |
```
|
41 |
|
42 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|