Update README.md
Browse files
README.md
CHANGED
@@ -73,8 +73,10 @@ transformer = NunchakuFluxTransformer2dModel.from_pretrained("mit-han-lab/svdq-i
|
|
73 |
pipeline = FluxPipeline.from_pretrained(
|
74 |
"black-forest-labs/FLUX.1-schnell", transformer=transformer, torch_dtype=torch.bfloat16
|
75 |
).to("cuda")
|
76 |
-
image = pipeline(
|
77 |
-
|
|
|
|
|
78 |
```
|
79 |
|
80 |
### Comfy UI
|
|
|
73 |
pipeline = FluxPipeline.from_pretrained(
|
74 |
"black-forest-labs/FLUX.1-schnell", transformer=transformer, torch_dtype=torch.bfloat16
|
75 |
).to("cuda")
|
76 |
+
image = pipeline(
|
77 |
+
"A cat holding a sign that says hello world", width=1024, height=1024, num_inference_steps=4, guidance_scale=0
|
78 |
+
).images[0]
|
79 |
+
image.save("flux.1-schnell-int4.png")
|
80 |
```
|
81 |
|
82 |
### Comfy UI
|