Update README.md
Browse files
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 |
|