Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +45 -0
- my_first_flux_lora_v1.safetensors +3 -0
.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
my_first_flux_lora_v1.safetensors filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
|
10 |
+
|
11 |
+
base_model: black-forest-labs/FLUX.1-dev
|
12 |
+
|
13 |
+
license: other
|
14 |
+
license_name: flux-1-dev-non-commercial-license
|
15 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
16 |
+
---
|
17 |
+
|
18 |
+
# my_first_flux_lora_v1
|
19 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
20 |
+
<Gallery />
|
21 |
+
|
22 |
+
## Trigger words
|
23 |
+
|
24 |
+
No trigger words defined.
|
25 |
+
|
26 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
27 |
+
|
28 |
+
Weights for this model are available in Safetensors format.
|
29 |
+
|
30 |
+
[Download](/Tjay143/Hijab2/tree/main) them in the Files & versions tab.
|
31 |
+
|
32 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
33 |
+
|
34 |
+
```py
|
35 |
+
from diffusers import AutoPipelineForText2Image
|
36 |
+
import torch
|
37 |
+
|
38 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
39 |
+
pipeline.load_lora_weights('Tjay143/Hijab2', weight_name='my_first_flux_lora_v1.safetensors')
|
40 |
+
image = pipeline('None').images[0]
|
41 |
+
image.save("my_image.png")
|
42 |
+
```
|
43 |
+
|
44 |
+
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)
|
45 |
+
|
my_first_flux_lora_v1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec50ba438b52cd60369d3fd1ac4e6b4172293b51a63dd920924f883b0dbdd4ae
|
3 |
+
size 429723192
|