Spaces:
Runtime error
Runtime error
fix bug
Browse files
app.py
CHANGED
@@ -315,7 +315,7 @@ with image_blocks as demo:
|
|
315 |
if index is not None and index < len(gallery_images):
|
316 |
return gallery_images[index]
|
317 |
return None
|
318 |
-
image_gallery.select(fn=select_image, inputs=[gr.Slider(0,
|
319 |
|
320 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out,masked_img], api_name='tryon')
|
321 |
|
|
|
315 |
if index is not None and index < len(gallery_images):
|
316 |
return gallery_images[index]
|
317 |
return None
|
318 |
+
image_gallery.select(fn=select_image, inputs=[gr.Slider(0, 9), image_gallery], outputs=garm_img)
|
319 |
|
320 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out,masked_img], api_name='tryon')
|
321 |
|