Update README.md
Browse files
README.md
CHANGED
@@ -2,4 +2,36 @@
|
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: DHANUSH
|
14 |
+
---
|
15 |
+
|
16 |
+
# Tugce_Flux
|
17 |
+
|
18 |
+
Trained on Replicate using:
|
19 |
+
|
20 |
+
https://replicate.com/ostris/flux-dev-lora-trainer/train
|
21 |
+
|
22 |
+
|
23 |
+
## Trigger words
|
24 |
+
You should use `zehra` to trigger the image generation.
|
25 |
+
|
26 |
+
|
27 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
28 |
+
|
29 |
+
```py
|
30 |
+
from diffusers import AutoPipelineForText2Image
|
31 |
+
import torch
|
32 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-0.9', torch_dtype=torch.float16).to('cuda')
|
33 |
+
pipeline.load_lora_weights('codermert/ezelll_flux', weight_name='flux_train_replicate.safetensors')
|
34 |
+
image = pipeline('your prompt').images[0]
|
35 |
+
```
|
36 |
+
|
37 |
+
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)
|