Spaces:
Runtime error
Runtime error
change text
Browse files
app.py
CHANGED
@@ -298,17 +298,17 @@ with image_blocks as demo:
|
|
298 |
with gr.Column():
|
299 |
prompt = gr.Textbox(placeholder="Description of garment ex) Yellow Top", show_label=False, elem_id="prompt")
|
300 |
fetch_button = gr.Button("Fetch Products")
|
301 |
-
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
302 |
|
303 |
image_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery"
|
304 |
, columns=[3], rows=[1], object_fit="contain", height="auto", allow_preview= False)
|
305 |
price_display = gr.Textbox(label="Prices of Images", interactive=False, visible=False)
|
306 |
url_display = gr.Textbox(label="URLs of Images", interactive=False, visible=False)
|
307 |
with gr.Column():
|
|
|
|
|
308 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
309 |
image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
|
310 |
-
|
311 |
-
buy_link = gr.Textbox(label="URL of Selected Image", interactive=False, visible=False)
|
312 |
buy_button = gr.Button(value="Like it? Click to buy")
|
313 |
output = gr.HTML()
|
314 |
with gr.Column():
|
|
|
298 |
with gr.Column():
|
299 |
prompt = gr.Textbox(placeholder="Description of garment ex) Yellow Top", show_label=False, elem_id="prompt")
|
300 |
fetch_button = gr.Button("Fetch Products")
|
|
|
301 |
|
302 |
image_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery"
|
303 |
, columns=[3], rows=[1], object_fit="contain", height="auto", allow_preview= False)
|
304 |
price_display = gr.Textbox(label="Prices of Images", interactive=False, visible=False)
|
305 |
url_display = gr.Textbox(label="URLs of Images", interactive=False, visible=False)
|
306 |
with gr.Column():
|
307 |
+
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
308 |
+
try_button = gr.Button(value="Try-on")
|
309 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
310 |
image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
|
311 |
+
buy_link = gr.Textbox(label="URL of Selected Image", interactive=False)
|
|
|
312 |
buy_button = gr.Button(value="Like it? Click to buy")
|
313 |
output = gr.HTML()
|
314 |
with gr.Column():
|