Lmxyy commited on
Commit
a2f6388
·
verified ·
1 Parent(s): f6f335e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
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("A cat holding a sign that says hello world", num_inference_steps=4, guidance_scale=0).images[0]
77
- image.save("example.png")
 
 
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