Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
24438e9
1
Parent(s):
843171c
hf build
Browse files- app.py +18 -18
- local_app.py +1 -1
- preprocess.py +1 -1
app.py
CHANGED
|
@@ -165,12 +165,12 @@ style_list = [
|
|
| 165 |
"prompt": "Bohemian chic interior, eclectic mix of patterns and textures, vintage furniture, plants, woven textiles, warm earthy colors"
|
| 166 |
},
|
| 167 |
{
|
| 168 |
-
"name": "
|
| 169 |
-
"prompt": "
|
| 170 |
},
|
| 171 |
{
|
| 172 |
-
"name": "
|
| 173 |
-
"prompt": "
|
| 174 |
},
|
| 175 |
{
|
| 176 |
"name": "Neoclassical",
|
|
@@ -181,11 +181,11 @@ style_list = [
|
|
| 181 |
"prompt": "Eclectic interior design, mix of styles and eras, bold color combinations, diverse furniture pieces, unique art objects"
|
| 182 |
},
|
| 183 |
{
|
| 184 |
-
"name": "Parisian
|
| 185 |
"prompt": "Parisian apartment interior, all-white color scheme, ornate moldings, herringbone wood floors, elegant furniture, large windows"
|
| 186 |
},
|
| 187 |
{
|
| 188 |
-
"name": "Hollywood
|
| 189 |
"prompt": "Hollywood Regency interior, glamorous and luxurious, bold colors, mirrored surfaces, velvet upholstery, gold accents"
|
| 190 |
},
|
| 191 |
{
|
|
@@ -193,30 +193,30 @@ style_list = [
|
|
| 193 |
"prompt": "Scandinavian interior design, light wood tones, white walls, minimalist furniture, cozy textiles, hygge atmosphere"
|
| 194 |
},
|
| 195 |
{
|
| 196 |
-
"name": "
|
| 197 |
-
"prompt": "
|
| 198 |
},
|
| 199 |
{
|
| 200 |
-
"name": "
|
| 201 |
-
"prompt": "
|
| 202 |
},
|
| 203 |
-
{
|
| 204 |
"name": "Midcentury Modern",
|
| 205 |
"prompt": "Mid-century modern interior, 1950s-60s style furniture, organic shapes, warm wood tones, bold accent colors, large windows"
|
| 206 |
},
|
| 207 |
-
{
|
| 208 |
-
"name": "Beach",
|
| 209 |
-
"prompt": "Coastal beach house interior, light blue and white color scheme, weathered wood, nautical accents, sheer curtains, ocean view"
|
| 210 |
-
},
|
| 211 |
{
|
| 212 |
"name": "Retro Futurism",
|
| 213 |
"prompt": "Neon (atompunk world) retro cyberpunk background",
|
| 214 |
},
|
| 215 |
{
|
| 216 |
-
"name": "
|
| 217 |
-
"prompt": "
|
| 218 |
},
|
| 219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
|
| 221 |
styles = {k["name"]: (k["prompt"]) for k in style_list}
|
| 222 |
STYLE_NAMES = list(styles.keys())
|
|
|
|
| 165 |
"prompt": "Bohemian chic interior, eclectic mix of patterns and textures, vintage furniture, plants, woven textiles, warm earthy colors"
|
| 166 |
},
|
| 167 |
{
|
| 168 |
+
"name": "Farmhouse",
|
| 169 |
+
"prompt": "Modern farmhouse interior, rustic wood elements, shiplap walls, neutral color palette, industrial accents, cozy textiles"
|
| 170 |
},
|
| 171 |
{
|
| 172 |
+
"name": "Saudi Prince",
|
| 173 |
+
"prompt": "Opulent gold interior, luxurious ornate furniture, crystal chandeliers, rich fabrics, marble floors, intricate Arabic patterns"
|
| 174 |
},
|
| 175 |
{
|
| 176 |
"name": "Neoclassical",
|
|
|
|
| 181 |
"prompt": "Eclectic interior design, mix of styles and eras, bold color combinations, diverse furniture pieces, unique art objects"
|
| 182 |
},
|
| 183 |
{
|
| 184 |
+
"name": "Parisian",
|
| 185 |
"prompt": "Parisian apartment interior, all-white color scheme, ornate moldings, herringbone wood floors, elegant furniture, large windows"
|
| 186 |
},
|
| 187 |
{
|
| 188 |
+
"name": "Hollywood",
|
| 189 |
"prompt": "Hollywood Regency interior, glamorous and luxurious, bold colors, mirrored surfaces, velvet upholstery, gold accents"
|
| 190 |
},
|
| 191 |
{
|
|
|
|
| 193 |
"prompt": "Scandinavian interior design, light wood tones, white walls, minimalist furniture, cozy textiles, hygge atmosphere"
|
| 194 |
},
|
| 195 |
{
|
| 196 |
+
"name": "Beach",
|
| 197 |
+
"prompt": "Coastal beach house interior, light blue and white color scheme, weathered wood, nautical accents, sheer curtains, ocean view"
|
| 198 |
},
|
| 199 |
{
|
| 200 |
+
"name": "Japanese",
|
| 201 |
+
"prompt": "Traditional Japanese interior, tatami mats, shoji screens, low furniture, zen garden view, minimalist decor, natural materials"
|
| 202 |
},
|
| 203 |
+
{
|
| 204 |
"name": "Midcentury Modern",
|
| 205 |
"prompt": "Mid-century modern interior, 1950s-60s style furniture, organic shapes, warm wood tones, bold accent colors, large windows"
|
| 206 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
{
|
| 208 |
"name": "Retro Futurism",
|
| 209 |
"prompt": "Neon (atompunk world) retro cyberpunk background",
|
| 210 |
},
|
| 211 |
{
|
| 212 |
+
"name": "Texan",
|
| 213 |
+
"prompt": "Western cowboy interior, rustic wood beams, leather furniture, cowhide rugs, antler chandeliers, southwestern patterns"
|
| 214 |
},
|
| 215 |
+
{
|
| 216 |
+
"name": "Matrix",
|
| 217 |
+
"prompt": "Futuristic cyberpunk interior, neon accent lighting, holographic plants, sleek black surfaces, advanced gaming setup, transparent screens, Blade Runner inspired decor, high-tech minimalist furniture"
|
| 218 |
+
}
|
| 219 |
+
]
|
| 220 |
|
| 221 |
styles = {k["name"]: (k["prompt"]) for k in style_list}
|
| 222 |
STYLE_NAMES = list(styles.keys())
|
local_app.py
CHANGED
|
@@ -145,7 +145,7 @@ style_list = [
|
|
| 145 |
"prompt": ""
|
| 146 |
},
|
| 147 |
{
|
| 148 |
-
"name": "
|
| 149 |
"prompt": "Minimalist interior design, clean lines, neutral colors, uncluttered space, functional furniture, lots of natural light"
|
| 150 |
},
|
| 151 |
{
|
|
|
|
| 145 |
"prompt": ""
|
| 146 |
},
|
| 147 |
{
|
| 148 |
+
"name": "Minimalistic",
|
| 149 |
"prompt": "Minimalist interior design, clean lines, neutral colors, uncluttered space, functional furniture, lots of natural light"
|
| 150 |
},
|
| 151 |
{
|
preprocess.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# import numpy as np
|
| 2 |
import PIL.Image
|
| 3 |
# import torch
|
| 4 |
-
from
|
| 5 |
|
| 6 |
# from controlnet_aux.util import HWC3
|
| 7 |
# import cv2
|
|
|
|
| 1 |
# import numpy as np
|
| 2 |
import PIL.Image
|
| 3 |
# import torch
|
| 4 |
+
from controlnet_aux_local import NormalBaeDetector#, CannyDetector
|
| 5 |
|
| 6 |
# from controlnet_aux.util import HWC3
|
| 7 |
# import cv2
|