Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
-
license_name: flux-1-
|
| 4 |
-
license_link: https://huggingface.co/black-forest-labs/FLUX.1-
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
tags:
|
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
- lora
|
| 11 |
- replicate
|
| 12 |
base_model:
|
| 13 |
-
- black-forest-labs/FLUX.1-
|
| 14 |
pipeline_tag: text-to-image
|
| 15 |
instance_prompt: SABA
|
| 16 |
---
|
|
@@ -32,7 +32,7 @@ You should use `SABA` to trigger the image generation.
|
|
| 32 |
from diffusers import AutoPipelineForText2Image
|
| 33 |
import torch
|
| 34 |
|
| 35 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-
|
| 36 |
pipeline.load_lora_weights('janannfndnd/SABA', weight_name='lora.safetensors')
|
| 37 |
image = pipeline('your prompt').images[0]
|
| 38 |
```
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
license_name: flux-1-schnell-non-commercial-license
|
| 4 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-schnell/blob/main/LICENSE.md
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
tags:
|
|
|
|
| 10 |
- lora
|
| 11 |
- replicate
|
| 12 |
base_model:
|
| 13 |
+
- black-forest-labs/FLUX.1-schnell
|
| 14 |
pipeline_tag: text-to-image
|
| 15 |
instance_prompt: SABA
|
| 16 |
---
|
|
|
|
| 32 |
from diffusers import AutoPipelineForText2Image
|
| 33 |
import torch
|
| 34 |
|
| 35 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.float16).to('cuda')
|
| 36 |
pipeline.load_lora_weights('janannfndnd/SABA', weight_name='lora.safetensors')
|
| 37 |
image = pipeline('your prompt').images[0]
|
| 38 |
```
|