Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,8 @@ tags:
|
|
| 12 |
base_model: black-forest-labs/FLUX.1-schnell
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
instance_prompt: SABA
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Saba
|
|
@@ -33,7 +35,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"
|
| 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)
|
|
|
|
| 12 |
base_model: black-forest-labs/FLUX.1-schnell
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
instance_prompt: SABA
|
| 15 |
+
height: 1024
|
| 16 |
+
width: 512
|
| 17 |
---
|
| 18 |
|
| 19 |
# Saba
|
|
|
|
| 35 |
|
| 36 |
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.float16).to('cuda')
|
| 37 |
pipeline.load_lora_weights('janannfndnd/SABA', weight_name='lora.safetensors')
|
| 38 |
+
image = pipeline("your prompt").images[0]
|
| 39 |
```
|
| 40 |
|
| 41 |
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)
|