Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -280,11 +280,11 @@ with image_blocks as demo:
|
|
280 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
281 |
with gr.Row(elem_id="prompt-container"):
|
282 |
with gr.Row():
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
with gr.Column():
|
289 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
290 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
|
|
280 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
281 |
with gr.Row(elem_id="prompt-container"):
|
282 |
with gr.Row():
|
283 |
+
prompt = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
|
284 |
+
example = gr.Examples(
|
285 |
+
inputs=garm_img,
|
286 |
+
examples_per_page=8,
|
287 |
+
examples=garm_list_path)
|
288 |
with gr.Column():
|
289 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
290 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|