Update README.md
Browse files
README.md
CHANGED
@@ -117,11 +117,11 @@ import os
|
|
117 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16) # or black-forest-labs/FLUX.1-schnell
|
118 |
pipeline.to("cuda")
|
119 |
|
120 |
-
pipeline.load_lora_weights(
|
121 |
weight_name="flux_lustly-ai_v1.safetensors",
|
122 |
-
adapter_name="
|
123 |
|
124 |
-
pipeline.set_adapters(["
|
125 |
|
126 |
out = pipeline(
|
127 |
prompt=prompt,
|
|
|
117 |
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16) # or black-forest-labs/FLUX.1-schnell
|
118 |
pipeline.to("cuda")
|
119 |
|
120 |
+
pipeline.load_lora_weights("lustlyai/Flux_Lustly.ai_Uncensored_nsfw_v1",
|
121 |
weight_name="flux_lustly-ai_v1.safetensors",
|
122 |
+
adapter_name="v1")
|
123 |
|
124 |
+
pipeline.set_adapters(["v1"], adapter_weights=[1])
|
125 |
|
126 |
out = pipeline(
|
127 |
prompt=prompt,
|