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