Upload folder using huggingface_hub
Browse files- .gitattributes +18 -0
- README.md +80 -0
- assets/input0.png +3 -0
- assets/input1.png +3 -0
- assets/input2.png +3 -0
- assets/input3.png +3 -0
- assets/input4.png +3 -0
- assets/input5.png +3 -0
- assets/output0.png +3 -0
- assets/output1.png +3 -0
- assets/output2.png +3 -0
- assets/output3.png +3 -0
- assets/output4.png +3 -0
- assets/output5.png +3 -0
- assets/teaser0.png +3 -0
- assets/teaser1.png +3 -0
- assets/teaser2.png +3 -0
- assets/teaser3.png +3 -0
- assets/teaser4.png +3 -0
- assets/teaser5.png +3 -0
- lora.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,21 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/input0.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/input1.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/input2.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/input3.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/input4.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/input5.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
assets/output0.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
assets/output1.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
assets/output2.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
assets/output3.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
assets/output4.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
assets/output5.png filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
assets/teaser0.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
assets/teaser1.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
assets/teaser2.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
assets/teaser3.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
assets/teaser4.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
assets/teaser5.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: flux-1-dev-non-commercial-license
|
| 4 |
+
license_link: >-
|
| 5 |
+
https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev
|
| 6 |
+
base_model:
|
| 7 |
+
- black-forest-labs/FLUX.1-Kontext-dev
|
| 8 |
+
tags:
|
| 9 |
+
- flux
|
| 10 |
+
- flux-diffusers
|
| 11 |
+
- image-to-image
|
| 12 |
+
- image-generation
|
| 13 |
+
- diffusers
|
| 14 |
+
- lora
|
| 15 |
+
pipeline_tag: image-to-image
|
| 16 |
+
library_name: diffusers
|
| 17 |
+
widget:
|
| 18 |
+
- src: assets/input0.png
|
| 19 |
+
text: 'A minimalist bedroom features a light oak floor, a wooden bed with white bedding, a black desk with a laptop, a white lamp, and a small round side table with a book and a donut, all arranged around a large window with white blinds.'
|
| 20 |
+
output:
|
| 21 |
+
url: assets/teaser0.png
|
| 22 |
+
- src: assets/input1.png
|
| 23 |
+
text: 'A cozy dining area features a dark wood dining table and chairs on a textured rug, a wooden cabinet with a built-in espresso machine on the left, and a floor lamp with a dark shade beside it, all under a pendant light hanging from the ceiling.'
|
| 24 |
+
output:
|
| 25 |
+
url: assets/teaser1.png
|
| 26 |
+
- src: assets/input2.png
|
| 27 |
+
text: 'A home office features a long white desk with dual monitors, a black filing cabinet beneath, two white Eames-style chairs, a pegboard wall with tools, a window with greenery outside, and open shelves above holding books and decor.'
|
| 28 |
+
output:
|
| 29 |
+
url: assets/teaser2.png
|
| 30 |
+
- src: assets/input3.png
|
| 31 |
+
text: 'A modern bedroom features a large bed with a neutral color palette, flanked by a wooden shelving unit with a white cabinet and a large window offering a view of greenery, with a circular pendant light hanging above and a marble accent wall behind the bed.'
|
| 32 |
+
output:
|
| 33 |
+
url: assets/teaser3.png
|
| 34 |
+
- src: assets/input4.png
|
| 35 |
+
text: 'A modern living room features a black flip clock displaying "15:18" on a marble accent wall, a light oak bookshelf to the left, a white marble-topped coffee table in the center, and a white dining area with a black pendant light above.'
|
| 36 |
+
output:
|
| 37 |
+
url: assets/teaser4.png
|
| 38 |
+
- src: assets/input5.png
|
| 39 |
+
text: 'A modern kitchen features white cabinets, a marble countertop, a double sink with a brushed brass faucet, a black gas stove, a black dishwasher, a large window with a view of the horizon, and a black vent hood above.'
|
| 40 |
+
output:
|
| 41 |
+
url: assets/teaser5.png
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
`FLUX.1 Panorama Kontext [dev] LoRA` is a LoRA model for [FLUX.1 Kontext [dev]](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev), designed to generate high-quality panoramic images from perspective images, with a focus on realistic interior design scenes.
|
| 45 |
+
|
| 46 |
+
<Gallery />
|
| 47 |
+
|
| 48 |
+
## Diffusers
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
import torch
|
| 52 |
+
from diffusers.pipelines.flux.pipeline_flux_kontext import FluxKontextPipeline
|
| 53 |
+
|
| 54 |
+
pipe = FluxKontextPipeline.from_pretrained(
|
| 55 |
+
"black-forest-labs/FLUX.1-Kontext-dev",
|
| 56 |
+
torch_dtype=torch.bfloat16,
|
| 57 |
+
)
|
| 58 |
+
pipe.load_lora_weights("manycore-research/FLUX.1-Panorama-Kontext-dev-lora")
|
| 59 |
+
pipe = pipe.to("cuda")
|
| 60 |
+
|
| 61 |
+
image = "https://huggingface.co/manycore-research/FLUX.1-Panorama-Kontext-dev-lora/resolve/main/assets/input1.png"
|
| 62 |
+
|
| 63 |
+
prompt = "A modern bedroom features a white upholstered bed with a brown throw, a built-in wooden shelving unit with books on the left, a minimalist abstract wall art piece with a gold accent, and a ring light fixture hanging above."
|
| 64 |
+
|
| 65 |
+
output = pipe(
|
| 66 |
+
image=image,
|
| 67 |
+
prompt=prompt,
|
| 68 |
+
height=1440,
|
| 69 |
+
width=720,
|
| 70 |
+
guidance_scale=3.0,
|
| 71 |
+
num_inference_steps=28,
|
| 72 |
+
generator=torch.Generator(device="cpu").manual_seed(42),
|
| 73 |
+
).images[0]
|
| 74 |
+
|
| 75 |
+
output.save("output.png")
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
## LICENSE
|
| 79 |
+
|
| 80 |
+
The model falls under the [FLUX.1-dev Non-Commercial License](https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev).
|
assets/input0.png
ADDED
|
Git LFS Details
|
assets/input1.png
ADDED
|
Git LFS Details
|
assets/input2.png
ADDED
|
Git LFS Details
|
assets/input3.png
ADDED
|
Git LFS Details
|
assets/input4.png
ADDED
|
Git LFS Details
|
assets/input5.png
ADDED
|
Git LFS Details
|
assets/output0.png
ADDED
|
Git LFS Details
|
assets/output1.png
ADDED
|
Git LFS Details
|
assets/output2.png
ADDED
|
Git LFS Details
|
assets/output3.png
ADDED
|
Git LFS Details
|
assets/output4.png
ADDED
|
Git LFS Details
|
assets/output5.png
ADDED
|
Git LFS Details
|
assets/teaser0.png
ADDED
|
Git LFS Details
|
assets/teaser1.png
ADDED
|
Git LFS Details
|
assets/teaser2.png
ADDED
|
Git LFS Details
|
assets/teaser3.png
ADDED
|
Git LFS Details
|
assets/teaser4.png
ADDED
|
Git LFS Details
|
assets/teaser5.png
ADDED
|
Git LFS Details
|
lora.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ccc3bd7408c7db260a987d264bbc08d297d7a7632bfa3f5bcf9167f408f7469
|
| 3 |
+
size 598574936
|