Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- README.md +71 -0
- assets/bedroom.png +3 -0
- assets/diningroom.png +3 -0
- assets/kitchen.png +3 -0
- assets/livingroom.png +3 -0
- assets/office.png +3 -0
- assets/study.png +3 -0
- lora.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ 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/bedroom.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/diningroom.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/kitchen.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/livingroom.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/office.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/study.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-dev
|
| 8 |
+
tags:
|
| 9 |
+
- flux
|
| 10 |
+
- flux-diffusers
|
| 11 |
+
- text-to-image
|
| 12 |
+
- image-generation
|
| 13 |
+
- diffusers
|
| 14 |
+
- lora
|
| 15 |
+
pipeline_tag: text-to-image
|
| 16 |
+
library_name: diffusers
|
| 17 |
+
widget:
|
| 18 |
+
- text: 'A modern bedroom features a low platform bed with a grey upholstered headboard in the center, light oak flooring, two white nightstands with silver lamps, a large window with sheer white curtains on the left, a built-in wooden wardrobe on the right, and a textured beige rug beneath the bed.'
|
| 19 |
+
output:
|
| 20 |
+
url: assets/bedroom.png
|
| 21 |
+
- text: 'A bright living room features a beige sectional sofa, light wood flooring, a glass coffee table, a TV unit with open shelving, a large window with roller blinds, and a woven basket holding blankets near the sofa.'
|
| 22 |
+
output:
|
| 23 |
+
url: assets/livingroom.png
|
| 24 |
+
- text: 'A formal dining room has a long mahogany table with eight upholstered chairs, a crystal chandelier overhead, a Persian-style rug beneath, a mirrored wall on one side, and a built-in wine cabinet with ambient lighting.'
|
| 25 |
+
output:
|
| 26 |
+
url: assets/diningroom.png
|
| 27 |
+
- text: 'A modern kitchen features white high-gloss cabinets, a large central island with a marble countertop and bar stools, stainless steel appliances, a tiled backsplash, recessed ceiling lighting, and a window above the sink overlooking the garden.'
|
| 28 |
+
output:
|
| 29 |
+
url: assets/kitchen.png
|
| 30 |
+
- text: 'A contemporary study showcases a dark wood desk with built-in storage, a leather office chair, a floor-to-ceiling bookshelf on the left, a wall-mounted monitor, a notepad and pen on the desk, and recessed ceiling lighting.'
|
| 31 |
+
output:
|
| 32 |
+
url: assets/office.png
|
| 33 |
+
- text: 'A stylish study features a walnut desk with brass accents, a mid-century modern chair, a built-in bookshelf with ladder access, a globe on a stand, a floor lamp with a black shade, and a textured area rug.'
|
| 34 |
+
output:
|
| 35 |
+
url: assets/study.png
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
`FLUX.1 Panorama [dev] LoRA` is a LoRA model for [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev), designed to generate high-quality panoramic images from textual description, with a focus on realistic interior design scenes.
|
| 39 |
+
|
| 40 |
+
<Gallery />
|
| 41 |
+
|
| 42 |
+
## Diffusers
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
import torch
|
| 46 |
+
from diffusers.pipelines.flux.pipeline_flux import FluxPipeline
|
| 47 |
+
|
| 48 |
+
pipe = FluxPipeline.from_pretrained(
|
| 49 |
+
"black-forest-labs/FLUX.1-dev",
|
| 50 |
+
torch_dtype=torch.bfloat16,
|
| 51 |
+
)
|
| 52 |
+
pipe.load_lora_weights("manycore-research/FLUX.1-Panorama-dev-lora")
|
| 53 |
+
pipe = pipe.to("cuda")
|
| 54 |
+
|
| 55 |
+
prompt = "A modern bedroom features a low platform bed with a grey upholstered headboard in the center, light oak flooring, two white nightstands with silver lamps, a large window with sheer white curtains on the left, a built-in wooden wardrobe on the right, and a textured beige rug beneath the bed."
|
| 56 |
+
|
| 57 |
+
image = pipe(
|
| 58 |
+
prompt=prompt,
|
| 59 |
+
height=1920,
|
| 60 |
+
width=960,
|
| 61 |
+
guidance_scale=4.0,
|
| 62 |
+
num_inference_steps=20,
|
| 63 |
+
generator=torch.Generator(device="cpu").manual_seed(42),
|
| 64 |
+
).images[0]
|
| 65 |
+
|
| 66 |
+
image.save("output.png")
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## LICENSE
|
| 70 |
+
|
| 71 |
+
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/bedroom.png
ADDED
|
Git LFS Details
|
assets/diningroom.png
ADDED
|
Git LFS Details
|
assets/kitchen.png
ADDED
|
Git LFS Details
|
assets/livingroom.png
ADDED
|
Git LFS Details
|
assets/office.png
ADDED
|
Git LFS Details
|
assets/study.png
ADDED
|
Git LFS Details
|
lora.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b3d9ee0257dbe62e2c89d6f52ae4e2c72d7b1b5db2f18fc53a1b140ab9c9f60
|
| 3 |
+
size 598574936
|