Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
bf31963
1
Parent(s):
c33c672
ui
Browse files
app.py
CHANGED
|
@@ -142,6 +142,10 @@ style_list = [
|
|
| 142 |
"name": "None",
|
| 143 |
"prompt": ""
|
| 144 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
{
|
| 146 |
"name": "Boho Chic",
|
| 147 |
"prompt": "boho chic"
|
|
@@ -170,6 +174,10 @@ style_list = [
|
|
| 170 |
"name": "Hollywood Glam",
|
| 171 |
"prompt": "Hollywood Glam",
|
| 172 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
]
|
| 174 |
|
| 175 |
styles = {k["name"]: (k["prompt"]) for k in style_list}
|
|
@@ -234,6 +242,14 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
| 234 |
value="EasyNegativeV2, fcNeg, (badhandv4:1.4), (worst quality, low quality, bad quality, normal quality:2.0), (bad hands, missing fingers, extra fingers:2.0)",
|
| 235 |
)
|
| 236 |
#############################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
with gr.Row(visible=True):
|
| 238 |
style_selection = gr.Radio(
|
| 239 |
show_label=True,
|
|
@@ -243,14 +259,6 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
| 243 |
value="boho chic",
|
| 244 |
label="Design Styles",
|
| 245 |
)
|
| 246 |
-
# input text
|
| 247 |
-
with gr.Row():
|
| 248 |
-
gr.Text(label="Interior Design Style Examples", value="Eclectic, Maximalist, Bohemian, Scandinavian, Minimalist, Rustic, Modern Farmhouse, Contemporary, Luxury, Airbnb, Boho Chic, Midcentury Modern, Art Deco, Zen, Beach, Neoclassical, Industrial, Biophilic, Eco-friendly, Hollywood Glam, Parisian White, Saudi Prince Gold, French Country, Monster Energy Drink, Cyberpunk, Vaporwave, Baroque, etc.\n\nPro tip: add a color to customize it! You can also describe the furniture type.")
|
| 249 |
-
with gr.Column():
|
| 250 |
-
prompt = gr.Textbox(
|
| 251 |
-
label="Description",
|
| 252 |
-
placeholder="boho chic",
|
| 253 |
-
)
|
| 254 |
# input image
|
| 255 |
with gr.Row():
|
| 256 |
with gr.Column():
|
|
|
|
| 142 |
"name": "None",
|
| 143 |
"prompt": ""
|
| 144 |
},
|
| 145 |
+
{
|
| 146 |
+
"name": "Minimalistic",
|
| 147 |
+
"prompt": "Minimalistic"
|
| 148 |
+
},
|
| 149 |
{
|
| 150 |
"name": "Boho Chic",
|
| 151 |
"prompt": "boho chic"
|
|
|
|
| 174 |
"name": "Hollywood Glam",
|
| 175 |
"prompt": "Hollywood Glam",
|
| 176 |
},
|
| 177 |
+
{
|
| 178 |
+
"name": "Scandinavian",
|
| 179 |
+
"prompt": "Scandinavian",
|
| 180 |
+
},
|
| 181 |
]
|
| 182 |
|
| 183 |
styles = {k["name"]: (k["prompt"]) for k in style_list}
|
|
|
|
| 242 |
value="EasyNegativeV2, fcNeg, (badhandv4:1.4), (worst quality, low quality, bad quality, normal quality:2.0), (bad hands, missing fingers, extra fingers:2.0)",
|
| 243 |
)
|
| 244 |
#############################################################################
|
| 245 |
+
# input text
|
| 246 |
+
with gr.Row():
|
| 247 |
+
gr.Text(label="Interior Design Style Examples", value="Eclectic, Maximalist, Bohemian, Scandinavian, Minimalist, Rustic, Modern Farmhouse, Contemporary, Luxury, Airbnb, Boho Chic, Midcentury Modern, Art Deco, Zen, Beach, Neoclassical, Industrial, Biophilic, Eco-friendly, Hollywood Glam, Parisian White, Saudi Prince Gold, French Country, Monster Energy Drink, Cyberpunk, Vaporwave, Baroque, etc.\n\nPro tip: add a color to customize it! You can also describe the furniture type.")
|
| 248 |
+
with gr.Column():
|
| 249 |
+
prompt = gr.Textbox(
|
| 250 |
+
label="Description",
|
| 251 |
+
placeholder="boho chic",
|
| 252 |
+
)
|
| 253 |
with gr.Row(visible=True):
|
| 254 |
style_selection = gr.Radio(
|
| 255 |
show_label=True,
|
|
|
|
| 259 |
value="boho chic",
|
| 260 |
label="Design Styles",
|
| 261 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 262 |
# input image
|
| 263 |
with gr.Row():
|
| 264 |
with gr.Column():
|