wanghaofan
commited on
Commit
•
83a0bdd
1
Parent(s):
7dc25df
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ This is a LoRA trained on FLUX.1-dev for [Black Myth: Wukong](https://en.wikiped
|
|
26 |
|
27 |
## Trigger words
|
28 |
|
29 |
-
|
30 |
|
31 |
## Example
|
32 |
|
@@ -36,13 +36,13 @@ from diffusers import FluxPipeline
|
|
36 |
|
37 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
38 |
pipe.load_lora_weights("wanghaofan/Black-Myth-Wukong-FLUX-LoRA")
|
39 |
-
pipe.fuse_lora(lora_scale=
|
40 |
pipe.to("cuda")
|
41 |
|
42 |
-
prompt = "
|
43 |
|
44 |
image = pipe(prompt,
|
45 |
-
num_inference_steps=
|
46 |
guidance_scale=5.0,
|
47 |
width=768, height=1024,
|
48 |
).images[0]
|
|
|
26 |
|
27 |
## Trigger words
|
28 |
|
29 |
+
wukong
|
30 |
|
31 |
## Example
|
32 |
|
|
|
36 |
|
37 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
38 |
pipe.load_lora_weights("wanghaofan/Black-Myth-Wukong-FLUX-LoRA")
|
39 |
+
pipe.fuse_lora(lora_scale=0.3)
|
40 |
pipe.to("cuda")
|
41 |
|
42 |
+
prompt = "wukong, working in the office, holding a paper that writeen with 'damn,they don't need to work'"
|
43 |
|
44 |
image = pipe(prompt,
|
45 |
+
num_inference_steps=24,
|
46 |
guidance_scale=5.0,
|
47 |
width=768, height=1024,
|
48 |
).images[0]
|