Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: flux-1-dev-non-commercial-license
|
| 4 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- flux
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
base_model: "black-forest-labs/FLUX.1-dev"
|
| 12 |
+
pipeline_tag: text-to-image
|
| 13 |
+
instance_prompt: TAMIZH
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Tamizh Flux
|
| 17 |
+
|
| 18 |
+
Trained on RTX4090 24GB in lora rank 16
|
| 19 |
+
|
| 20 |
+
## Trigger words
|
| 21 |
+
You should use `TOK` to trigger the image generation.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 25 |
+
|
| 26 |
+
```py
|
| 27 |
+
from diffusers import AutoPipelineForText2Image
|
| 28 |
+
import torch
|
| 29 |
+
|
| 30 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
| 31 |
+
pipeline.load_lora_weights('Tzktz/user-model-flux', weight_name='lora.safetensors')
|
| 32 |
+
image = pipeline('your prompt').images[0]
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
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)
|