Spaces:
Runtime error
Runtime error
debug
Browse files
app.py
CHANGED
@@ -255,6 +255,7 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
|
|
255 |
# Function to handle image selection from the gallery
|
256 |
def select_image(images, urls, evt: gr.SelectData):
|
257 |
print(urls)
|
|
|
258 |
print(f"URL of image is {urls[evt.index]}")
|
259 |
return images[evt.index][0], urls[evt.index]
|
260 |
|
|
|
255 |
# Function to handle image selection from the gallery
|
256 |
def select_image(images, urls, evt: gr.SelectData):
|
257 |
print(urls)
|
258 |
+
print(evt.index)
|
259 |
print(f"URL of image is {urls[evt.index]}")
|
260 |
return images[evt.index][0], urls[evt.index]
|
261 |
|