Spaces:
Runtime error
Runtime error
revise button
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks() as demo:
|
|
117 |
label="Person Images",
|
118 |
)
|
119 |
with gr.Column():
|
120 |
-
garment_output = gr.Image(label="Try-
|
121 |
|
122 |
with gr.Row():
|
123 |
num_steps = gr.Slider(
|
@@ -157,15 +157,14 @@ with gr.Blocks() as demo:
|
|
157 |
)
|
158 |
|
159 |
|
160 |
-
submit_btn = gr.Button("Generate Try-
|
161 |
|
162 |
|
163 |
with gr.Row():
|
164 |
gr.Markdown("""
|
165 |
### Notes:
|
166 |
-
- The model is trained on VITON-HD dataset. It focuses on the woman upper body
|
167 |
- The mask should indicate the region where the garment will be placed.
|
168 |
-
- The garment image should be on a clean background.
|
169 |
- The model is not perfect. It may generate some artifacts.
|
170 |
- The model is slow. Please be patient.
|
171 |
- The model is just for research purpose.
|
|
|
117 |
label="Person Images",
|
118 |
)
|
119 |
with gr.Column():
|
120 |
+
garment_output = gr.Image(label="Try-off Result", height=600, width=300)
|
121 |
|
122 |
with gr.Row():
|
123 |
num_steps = gr.Slider(
|
|
|
157 |
)
|
158 |
|
159 |
|
160 |
+
submit_btn = gr.Button("Generate Try-off", variant="primary")
|
161 |
|
162 |
|
163 |
with gr.Row():
|
164 |
gr.Markdown("""
|
165 |
### Notes:
|
166 |
+
- The model is trained on VITON-HD dataset. It focuses on the woman upper body Try-off generation.
|
167 |
- The mask should indicate the region where the garment will be placed.
|
|
|
168 |
- The model is not perfect. It may generate some artifacts.
|
169 |
- The model is slow. Please be patient.
|
170 |
- The model is just for research purpose.
|