Update README.md
Browse files
README.md
CHANGED
|
@@ -33,7 +33,7 @@ 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 |
```
|
| 38 |
|
| 39 |
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
|
|
|
| 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', height=768, width=512).images[0]
|
| 37 |
```
|
| 38 |
|
| 39 |
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|