Spaces:
Runtime error
Runtime error
Commit
·
2e4fc42
1
Parent(s):
bf6948f
add more style
Browse files
app.py
CHANGED
|
@@ -16,6 +16,10 @@ def predict(image, style, color_preference):
|
|
| 16 |
|
| 17 |
image_blocks = gr.Blocks()
|
| 18 |
with image_blocks as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
with gr.Group():
|
| 20 |
with gr.Box():
|
| 21 |
with gr.Row():
|
|
@@ -25,8 +29,10 @@ with image_blocks as demo:
|
|
| 25 |
).style(height=400)
|
| 26 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 27 |
style = gr.Dropdown(
|
| 28 |
-
["
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
)
|
| 31 |
|
| 32 |
color_preference = gr.Textbox(placeholder='Enter color preference',
|
|
|
|
| 16 |
|
| 17 |
image_blocks = gr.Blocks()
|
| 18 |
with image_blocks as demo:
|
| 19 |
+
gr.Markdown(
|
| 20 |
+
"""
|
| 21 |
+
# Virtual Home Staging
|
| 22 |
+
""")
|
| 23 |
with gr.Group():
|
| 24 |
with gr.Box():
|
| 25 |
with gr.Row():
|
|
|
|
| 29 |
).style(height=400)
|
| 30 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 31 |
style = gr.Dropdown(
|
| 32 |
+
["Bohemian", "Coastal", "Contemporary", "Farmhouse", "French country",
|
| 33 |
+
"Glam", "Industrial", "Japandi", "Mid-century modern", "Minimal", "Modern",
|
| 34 |
+
"Rustic", "Scandinavian", "Traditional", "Transitional", ],
|
| 35 |
+
label="Design theme", elem_id="input-style"
|
| 36 |
)
|
| 37 |
|
| 38 |
color_preference = gr.Textbox(placeholder='Enter color preference',
|