Upload folder using huggingface_hub
Browse files- README.md +49 -0
- flux-lora-korea-palace.safetensors +3 -0
- samples/1733557755116__000001000_0.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: Gyeongbokgung Palace in Seoul, South Korea. It is a large building with
|
11 |
+
stairs leading up to the entrance, surrounded by a wall. In the background,
|
12 |
+
there are other buildings, mountains, and a clear blue sky. [trigger]
|
13 |
+
output:
|
14 |
+
url: samples/1733557755116__000001000_0.jpg
|
15 |
+
base_model: black-forest-labs/FLUX.1-dev
|
16 |
+
instance_prompt: korea palace
|
17 |
+
license: other
|
18 |
+
license_name: flux-1-dev-non-commercial-license
|
19 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
20 |
+
---
|
21 |
+
|
22 |
+
# flux-lora-korea-palace
|
23 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
24 |
+
<Gallery />
|
25 |
+
|
26 |
+
## Trigger words
|
27 |
+
|
28 |
+
You should use `korea palace` to trigger the image generation.
|
29 |
+
|
30 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
31 |
+
|
32 |
+
Weights for this model are available in Safetensors format.
|
33 |
+
|
34 |
+
[Download](/openfree/flux-lora-korea-palace/tree/main) them in the Files & versions tab.
|
35 |
+
|
36 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
37 |
+
|
38 |
+
```py
|
39 |
+
from diffusers import AutoPipelineForText2Image
|
40 |
+
import torch
|
41 |
+
|
42 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
43 |
+
pipeline.load_lora_weights('openfree/flux-lora-korea-palace', weight_name='flux-lora-korea-palace.safetensors')
|
44 |
+
image = pipeline('Gyeongbokgung Palace in Seoul, South Korea. It is a large building with stairs leading up to the entrance, surrounded by a wall. In the background, there are other buildings, mountains, and a clear blue sky. [trigger]').images[0]
|
45 |
+
image.save("my_image.png")
|
46 |
+
```
|
47 |
+
|
48 |
+
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)
|
49 |
+
|
flux-lora-korea-palace.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8b7d812706f4813623cb0d365a815590bf771b5cd6122a43070ad4ef82dcca0
|
3 |
+
size 171969432
|
samples/1733557755116__000001000_0.jpg
ADDED