Spaces:
Runtime error
Runtime error
fix bug
Browse files
app.py
CHANGED
@@ -257,6 +257,7 @@ def select_image(images, urls, evt: gr.SelectData):
|
|
257 |
print(urls)
|
258 |
print(evt.index)
|
259 |
print(type(urls))
|
|
|
260 |
print(f"URL of image is {urls[evt.index]}")
|
261 |
return images[evt.index][0], urls[evt.index]
|
262 |
|
|
|
257 |
print(urls)
|
258 |
print(evt.index)
|
259 |
print(type(urls))
|
260 |
+
urls = list(urls)
|
261 |
print(f"URL of image is {urls[evt.index]}")
|
262 |
return images[evt.index][0], urls[evt.index]
|
263 |
|