Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ import torch
|
|
| 5 |
device = "cuda:0"
|
| 6 |
dtype = torch.bfloat16
|
| 7 |
|
| 8 |
-
repo = "
|
| 9 |
|
| 10 |
pipe = HunyuanImagePipeline.from_pretrained(repo, torch_dtype=dtype)
|
| 11 |
pipe = pipe.to(device)
|
|
@@ -15,7 +15,7 @@ generator = torch.Generator(device=device).manual_seed(649151)
|
|
| 15 |
out = pipe(
|
| 16 |
prompt,
|
| 17 |
num_inference_steps=8,
|
| 18 |
-
|
| 19 |
height=2048,
|
| 20 |
width=2048,
|
| 21 |
generator=generator,
|
|
|
|
| 5 |
device = "cuda:0"
|
| 6 |
dtype = torch.bfloat16
|
| 7 |
|
| 8 |
+
repo = "hunyuanvideo-community/HunyuanImage-2.1-Distilled-Diffusers"
|
| 9 |
|
| 10 |
pipe = HunyuanImagePipeline.from_pretrained(repo, torch_dtype=dtype)
|
| 11 |
pipe = pipe.to(device)
|
|
|
|
| 15 |
out = pipe(
|
| 16 |
prompt,
|
| 17 |
num_inference_steps=8,
|
| 18 |
+
distilled_guidance_scale =3.5,
|
| 19 |
height=2048,
|
| 20 |
width=2048,
|
| 21 |
generator=generator,
|