eramth commited on
Commit
1f9fd1c
·
verified ·
1 Parent(s): fdb05bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ The Flux model with 4bit transformer and T5 encoder.
19
  ```python
20
  from diffusers import FluxPipeline
21
  import torch
22
- pipeline = FluxPipeline("eramth/flux-4bit",torch_dtype=torch.float16)
23
  image = pipeline(prompt="a cute cat",num_inference_steps=25,guidance_scale=3.5).images[0]
24
  image
25
 
 
19
  ```python
20
  from diffusers import FluxPipeline
21
  import torch
22
+ pipeline = FluxPipeline("eramth/flux-4bit",torch_dtype=torch.float16).to("cuda")
23
  image = pipeline(prompt="a cute cat",num_inference_steps=25,guidance_scale=3.5).images[0]
24
  image
25