Spaces:
Running
Running
prgarg007
commited on
Commit
·
aaf9cdd
1
Parent(s):
b5a0dd6
fix2
Browse files
app.py
CHANGED
@@ -78,29 +78,25 @@ def create_public_interface():
|
|
78 |
swatch_input = gr.Image(
|
79 |
label="🎨 Swatch/Pattern Image",
|
80 |
type="pil",
|
81 |
-
height=200
|
82 |
-
info="Upload an image of the fabric, pattern, or style you want to apply"
|
83 |
)
|
84 |
|
85 |
product_input = gr.Image(
|
86 |
label="📦 Furniture/Product Image",
|
87 |
type="pil",
|
88 |
-
height=200
|
89 |
-
info="Upload an image of the furniture piece you want to restyle"
|
90 |
)
|
91 |
|
92 |
room_input = gr.Image(
|
93 |
label="🏠 Room/Background Image",
|
94 |
type="pil",
|
95 |
height=200,
|
96 |
-
info="Upload an image of the room where you want to place the furniture"
|
97 |
)
|
98 |
|
99 |
room_style = gr.Dropdown(
|
100 |
choices=["modern", "vintage", "industrial", "scandinavian", "bohemian", "rustic"],
|
101 |
value="modern",
|
102 |
label="🎭 Room Style Theme",
|
103 |
-
info="Choose the overall aesthetic style for the room integration"
|
104 |
)
|
105 |
|
106 |
process_btn = gr.Button(
|
@@ -123,21 +119,18 @@ def create_public_interface():
|
|
123 |
|
124 |
styled_product_output = gr.Image(
|
125 |
label="🎨 Step 1: Styled Product",
|
126 |
-
height=300
|
127 |
-
info="Your furniture with the new style applied"
|
128 |
)
|
129 |
|
130 |
final_output = gr.Image(
|
131 |
label="🏆 Step 2: Room Integration",
|
132 |
-
height=300
|
133 |
-
info="Your styled furniture integrated into the room scene"
|
134 |
)
|
135 |
|
136 |
status_output = gr.Textbox(
|
137 |
label="🔄 Processing Status",
|
138 |
value="Ready to transform your furniture with AI...",
|
139 |
-
interactive=False
|
140 |
-
info="Current processing status and any messages"
|
141 |
)
|
142 |
|
143 |
gr.Markdown("""
|
|
|
78 |
swatch_input = gr.Image(
|
79 |
label="🎨 Swatch/Pattern Image",
|
80 |
type="pil",
|
81 |
+
height=200
|
|
|
82 |
)
|
83 |
|
84 |
product_input = gr.Image(
|
85 |
label="📦 Furniture/Product Image",
|
86 |
type="pil",
|
87 |
+
height=200
|
|
|
88 |
)
|
89 |
|
90 |
room_input = gr.Image(
|
91 |
label="🏠 Room/Background Image",
|
92 |
type="pil",
|
93 |
height=200,
|
|
|
94 |
)
|
95 |
|
96 |
room_style = gr.Dropdown(
|
97 |
choices=["modern", "vintage", "industrial", "scandinavian", "bohemian", "rustic"],
|
98 |
value="modern",
|
99 |
label="🎭 Room Style Theme",
|
|
|
100 |
)
|
101 |
|
102 |
process_btn = gr.Button(
|
|
|
119 |
|
120 |
styled_product_output = gr.Image(
|
121 |
label="🎨 Step 1: Styled Product",
|
122 |
+
height=300
|
|
|
123 |
)
|
124 |
|
125 |
final_output = gr.Image(
|
126 |
label="🏆 Step 2: Room Integration",
|
127 |
+
height=300
|
|
|
128 |
)
|
129 |
|
130 |
status_output = gr.Textbox(
|
131 |
label="🔄 Processing Status",
|
132 |
value="Ready to transform your furniture with AI...",
|
133 |
+
interactive=False
|
|
|
134 |
)
|
135 |
|
136 |
gr.Markdown("""
|