Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +73 -0
- background_1.safetensors +3 -0
- background_1_000002500.safetensors +3 -0
- background_1_000002750.safetensors +3 -0
- background_1_000003000.safetensors +3 -0
- background_1_000003250.safetensors +3 -0
- samples/.ipynb_checkpoints/1728647014960__000002250_3-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728647640686__000002500_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728647656111__000002500_1-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728647671536__000002500_2-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728647687021__000002500_3-checkpoint.jpg +0 -0
- samples/1728640745780__000000000_0.jpg +0 -0
- samples/1728640759594__000000000_1.jpg +0 -0
- samples/1728640773607__000000000_2.jpg +0 -0
- samples/1728640788007__000000000_3.jpg +0 -0
- samples/1728641412275__000000250_0.jpg +0 -0
- samples/1728641427669__000000250_1.jpg +0 -0
- samples/1728641443078__000000250_2.jpg +0 -0
- samples/1728641458482__000000250_3.jpg +0 -0
- samples/1728642110685__000000500_0.jpg +0 -0
- samples/1728642126098__000000500_1.jpg +0 -0
- samples/1728642141539__000000500_2.jpg +0 -0
- samples/1728642157014__000000500_3.jpg +0 -0
- samples/1728642791578__000000750_0.jpg +0 -0
- samples/1728642806972__000000750_1.jpg +0 -0
- samples/1728642822266__000000750_2.jpg +0 -0
- samples/1728642837730__000000750_3.jpg +0 -0
- samples/1728643486081__000001000_0.jpg +0 -0
- samples/1728643501379__000001000_1.jpg +0 -0
- samples/1728643516893__000001000_2.jpg +0 -0
- samples/1728643532464__000001000_3.jpg +0 -0
- samples/1728644186578__000001250_0.jpg +0 -0
- samples/1728644202078__000001250_1.jpg +0 -0
- samples/1728644217606__000001250_2.jpg +0 -0
- samples/1728644233147__000001250_3.jpg +0 -0
- samples/1728644872478__000001500_0.jpg +0 -0
- samples/1728644888004__000001500_1.jpg +0 -0
- samples/1728644903566__000001500_2.jpg +0 -0
- samples/1728644918920__000001500_3.jpg +0 -0
- samples/1728645554084__000001750_0.jpg +0 -0
- samples/1728645569507__000001750_1.jpg +0 -0
- samples/1728645584792__000001750_2.jpg +0 -0
- samples/1728645600263__000001750_3.jpg +0 -0
- samples/1728646262187__000002000_0.jpg +0 -0
- samples/1728646277605__000002000_1.jpg +0 -0
- samples/1728646293059__000002000_2.jpg +0 -0
- samples/1728646308385__000002000_3.jpg +0 -0
- samples/1728646968871__000002250_0.jpg +0 -0
- samples/1728646984258__000002250_1.jpg +0 -0
- samples/1728646999680__000002250_2.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: '[trigger] style, A stone-paved courtyard surrounded by tall brick walls.
|
11 |
+
In the center is a large fountain with water flowing down in layers. To the
|
12 |
+
left, there is a bench under an old oak tree, casting long shadows on the
|
13 |
+
ground. The sunlight is breaking through the branches, illuminating patches
|
14 |
+
of the cobblestone path. A few birds are perched on the fountain''s edge.'
|
15 |
+
output:
|
16 |
+
url: samples/1728650406878__000003500_0.jpg
|
17 |
+
- text: '[trigger] style, A modern city rooftop, with metal railings and a large
|
18 |
+
glass dome in the center. A few metal vents are scattered across the gravel
|
19 |
+
floor. There is a clear blue sky above, and the glass reflects the sunlight.
|
20 |
+
On the left side, a tall antenna stretches upwards, surrounded by small potted
|
21 |
+
plants placed along the railing.'
|
22 |
+
output:
|
23 |
+
url: samples/1728650422183__000003500_1.jpg
|
24 |
+
- text: '[trigger] style, A small, cozy living room with a brick fireplace. The
|
25 |
+
fire is burning war mly, casting a soft glow across the room. On the right
|
26 |
+
side, a wooden bookshelf is filled with books and a small clock. A patterned
|
27 |
+
rug covers the wooden floor, and two leather armchairs are placed facing the
|
28 |
+
fire. The light from the window shows a snowy landscape outside.'
|
29 |
+
output:
|
30 |
+
url: samples/1728650437545__000003500_2.jpg
|
31 |
+
- text: '[trigger] style, A grand marble hallway, with tall white pillars on both
|
32 |
+
sides and intricate carvings on the walls. A long red carpet runs down the
|
33 |
+
middle, leading to a large double door at the end. Above, a crystal chandelier
|
34 |
+
hangs from the high ceiling, casting sparkling reflections on the marble floor.
|
35 |
+
Sunlight pours in from the large windows on the left, illuminating the space
|
36 |
+
with a golden hue.'
|
37 |
+
output:
|
38 |
+
url: samples/1728650453136__000003500_3.jpg
|
39 |
+
base_model: black-forest-labs/FLUX.1-dev
|
40 |
+
instance_prompt: b0ckground
|
41 |
+
license: other
|
42 |
+
license_name: flux-1-dev-non-commercial-license
|
43 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
44 |
+
---
|
45 |
+
|
46 |
+
# background_1
|
47 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
48 |
+
<Gallery />
|
49 |
+
|
50 |
+
## Trigger words
|
51 |
+
|
52 |
+
You should use `b0ckground` to trigger the image generation.
|
53 |
+
|
54 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
55 |
+
|
56 |
+
Weights for this model are available in Safetensors format.
|
57 |
+
|
58 |
+
[Download](/busetolunay/background/tree/main) them in the Files & versions tab.
|
59 |
+
|
60 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
61 |
+
|
62 |
+
```py
|
63 |
+
from diffusers import AutoPipelineForText2Image
|
64 |
+
import torch
|
65 |
+
|
66 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
67 |
+
pipeline.load_lora_weights('busetolunay/background', weight_name='background_1.safetensors')
|
68 |
+
image = pipeline('[trigger] style, A stone-paved courtyard surrounded by tall brick walls. In the center is a large fountain with water flowing down in layers. To the left, there is a bench under an old oak tree, casting long shadows on the ground. The sunlight is breaking through the branches, illuminating patches of the cobblestone path. A few birds are perched on the fountain's edge.').images[0]
|
69 |
+
image.save("my_image.png")
|
70 |
+
```
|
71 |
+
|
72 |
+
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)
|
73 |
+
|
background_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7815c5473524c684169602ded44510398750b2d07ec0bd73bd692a1cc8b51285
|
3 |
+
size 687477552
|
background_1_000002500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f067f136123ac5c924e7ace4caf7c3ff14c71888eeea2ee0fa095be7c35a1a9
|
3 |
+
size 687477552
|
background_1_000002750.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b2dc15bef311baf83dc100f2df3ec1bfaf2433878f9b1a49b481737a9247616
|
3 |
+
size 687477552
|
background_1_000003000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f652ad51ad4500422704bd207f794a5d7f3990688bc1d3e143d6a1964de4797
|
3 |
+
size 687477552
|
background_1_000003250.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f3ed297e6ddbd8a134a872a6ab6fd4407229a3eede5c6b1dde391fbd54e9471
|
3 |
+
size 687477552
|
samples/.ipynb_checkpoints/1728647014960__000002250_3-checkpoint.jpg
ADDED
![]() |
samples/.ipynb_checkpoints/1728647640686__000002500_0-checkpoint.jpg
ADDED
![]() |
samples/.ipynb_checkpoints/1728647656111__000002500_1-checkpoint.jpg
ADDED
![]() |
samples/.ipynb_checkpoints/1728647671536__000002500_2-checkpoint.jpg
ADDED
![]() |
samples/.ipynb_checkpoints/1728647687021__000002500_3-checkpoint.jpg
ADDED
![]() |
samples/1728640745780__000000000_0.jpg
ADDED
![]() |
samples/1728640759594__000000000_1.jpg
ADDED
![]() |
samples/1728640773607__000000000_2.jpg
ADDED
![]() |
samples/1728640788007__000000000_3.jpg
ADDED
![]() |
samples/1728641412275__000000250_0.jpg
ADDED
![]() |
samples/1728641427669__000000250_1.jpg
ADDED
![]() |
samples/1728641443078__000000250_2.jpg
ADDED
![]() |
samples/1728641458482__000000250_3.jpg
ADDED
![]() |
samples/1728642110685__000000500_0.jpg
ADDED
![]() |
samples/1728642126098__000000500_1.jpg
ADDED
![]() |
samples/1728642141539__000000500_2.jpg
ADDED
![]() |
samples/1728642157014__000000500_3.jpg
ADDED
![]() |
samples/1728642791578__000000750_0.jpg
ADDED
![]() |
samples/1728642806972__000000750_1.jpg
ADDED
![]() |
samples/1728642822266__000000750_2.jpg
ADDED
![]() |
samples/1728642837730__000000750_3.jpg
ADDED
![]() |
samples/1728643486081__000001000_0.jpg
ADDED
![]() |
samples/1728643501379__000001000_1.jpg
ADDED
![]() |
samples/1728643516893__000001000_2.jpg
ADDED
![]() |
samples/1728643532464__000001000_3.jpg
ADDED
![]() |
samples/1728644186578__000001250_0.jpg
ADDED
![]() |
samples/1728644202078__000001250_1.jpg
ADDED
![]() |
samples/1728644217606__000001250_2.jpg
ADDED
![]() |
samples/1728644233147__000001250_3.jpg
ADDED
![]() |
samples/1728644872478__000001500_0.jpg
ADDED
![]() |
samples/1728644888004__000001500_1.jpg
ADDED
![]() |
samples/1728644903566__000001500_2.jpg
ADDED
![]() |
samples/1728644918920__000001500_3.jpg
ADDED
![]() |
samples/1728645554084__000001750_0.jpg
ADDED
![]() |
samples/1728645569507__000001750_1.jpg
ADDED
![]() |
samples/1728645584792__000001750_2.jpg
ADDED
![]() |
samples/1728645600263__000001750_3.jpg
ADDED
![]() |
samples/1728646262187__000002000_0.jpg
ADDED
![]() |
samples/1728646277605__000002000_1.jpg
ADDED
![]() |
samples/1728646293059__000002000_2.jpg
ADDED
![]() |
samples/1728646308385__000002000_3.jpg
ADDED
![]() |
samples/1728646968871__000002250_0.jpg
ADDED
![]() |
samples/1728646984258__000002250_1.jpg
ADDED
![]() |
samples/1728646999680__000002250_2.jpg
ADDED
![]() |