Spaces:
Runtime error
Runtime error
fix typo
Browse files
app.py
CHANGED
@@ -297,7 +297,7 @@ with image_blocks as demo:
|
|
297 |
with gr.Column():
|
298 |
prompt = gr.Textbox(placeholder="Description of garment ex) Yellow Top", show_label=False, elem_id="prompt")
|
299 |
fetch_button = gr.Button("Fetch Products")
|
300 |
-
garm_img = gr.Image(
|
301 |
|
302 |
image_gallery = gr.Gallery(label="Fetched Images", columns=4,allow_preview=False)
|
303 |
price_display = gr.Textbox(label="Price of Selected Image", interactive=False)
|
|
|
297 |
with gr.Column():
|
298 |
prompt = gr.Textbox(placeholder="Description of garment ex) Yellow Top", show_label=False, elem_id="prompt")
|
299 |
fetch_button = gr.Button("Fetch Products")
|
300 |
+
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
301 |
|
302 |
image_gallery = gr.Gallery(label="Fetched Images", columns=4,allow_preview=False)
|
303 |
price_display = gr.Textbox(label="Price of Selected Image", interactive=False)
|