Spaces:
Runtime error
Runtime error
Update run/gradio_ootd.py
Browse files- run/gradio_ootd.py +6 -6
run/gradio_ootd.py
CHANGED
@@ -184,18 +184,18 @@ with block:
|
|
184 |
|
185 |
|
186 |
with gr.Row():
|
187 |
-
gr.Markdown("##
|
188 |
with gr.Row():
|
189 |
-
gr.Markdown("***
|
190 |
with gr.Row():
|
191 |
with gr.Column():
|
192 |
vton_img_dc = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_dc)
|
193 |
example = gr.Examples(
|
194 |
-
label="
|
195 |
inputs=vton_img_dc,
|
196 |
examples_per_page=7,
|
197 |
examples=[
|
198 |
-
os.path.join(example_path, 'model/model_8.png')
|
199 |
# os.path.join(example_path, 'model/049447_0.jpg'),
|
200 |
# os.path.join(example_path, 'model/049713_0.jpg'),
|
201 |
# os.path.join(example_path, 'model/051482_0.jpg'),
|
@@ -205,11 +205,11 @@ with block:
|
|
205 |
]
|
206 |
)
|
207 |
example = gr.Examples(
|
208 |
-
label="
|
209 |
inputs=vton_img_dc,
|
210 |
examples_per_page=7,
|
211 |
examples=[
|
212 |
-
os.path.join(example_path, 'model/model_9.png')
|
213 |
# os.path.join(example_path, 'model/052767_0.jpg'),
|
214 |
# os.path.join(example_path, 'model/052472_0.jpg'),
|
215 |
# os.path.join(example_path, 'model/053514_0.jpg'),
|
|
|
184 |
|
185 |
|
186 |
with gr.Row():
|
187 |
+
gr.Markdown("## Virtual Trial Room")
|
188 |
with gr.Row():
|
189 |
+
gr.Markdown("*** Note :- Please Select Garment Type in below drop-down as upper-body/lower-body/dresses;***")
|
190 |
with gr.Row():
|
191 |
with gr.Column():
|
192 |
vton_img_dc = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_dc)
|
193 |
example = gr.Examples(
|
194 |
+
label="",
|
195 |
inputs=vton_img_dc,
|
196 |
examples_per_page=7,
|
197 |
examples=[
|
198 |
+
# os.path.join(example_path, 'model/model_8.png')
|
199 |
# os.path.join(example_path, 'model/049447_0.jpg'),
|
200 |
# os.path.join(example_path, 'model/049713_0.jpg'),
|
201 |
# os.path.join(example_path, 'model/051482_0.jpg'),
|
|
|
205 |
]
|
206 |
)
|
207 |
example = gr.Examples(
|
208 |
+
label="",
|
209 |
inputs=vton_img_dc,
|
210 |
examples_per_page=7,
|
211 |
examples=[
|
212 |
+
# os.path.join(example_path, 'model/model_9.png')
|
213 |
# os.path.join(example_path, 'model/052767_0.jpg'),
|
214 |
# os.path.join(example_path, 'model/052472_0.jpg'),
|
215 |
# os.path.join(example_path, 'model/053514_0.jpg'),
|