Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ You should use `SABA` to trigger the image generation.
|
|
| 31 |
from diffusers import AutoPipelineForText2Image
|
| 32 |
import torch
|
| 33 |
|
| 34 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-
|
| 35 |
pipeline.load_lora_weights('janannfndnd/SABA', weight_name='lora.safetensors')
|
| 36 |
image = pipeline('your prompt').images[0]
|
| 37 |
```
|
|
|
|
| 31 |
from diffusers import AutoPipelineForText2Image
|
| 32 |
import torch
|
| 33 |
|
| 34 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.float16).to('cuda')
|
| 35 |
pipeline.load_lora_weights('janannfndnd/SABA', weight_name='lora.safetensors')
|
| 36 |
image = pipeline('your prompt').images[0]
|
| 37 |
```
|