Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,9 +64,9 @@ if txt is not None:
|
|
64 |
with col1:
|
65 |
options = st.multiselect(
|
66 |
'Which image you want download?',
|
67 |
-
[
|
68 |
|
69 |
-
img_for_download = [
|
70 |
st.write('You selected:', img_for_download)
|
71 |
|
72 |
# btn = st.download_button(
|
|
|
64 |
with col1:
|
65 |
options = st.multiselect(
|
66 |
'Which image you want download?',
|
67 |
+
[i in range(top_k)])
|
68 |
|
69 |
+
img_for_download = [list_images[int(i)-1] for i in options]
|
70 |
st.write('You selected:', img_for_download)
|
71 |
|
72 |
# btn = st.download_button(
|