IvaElen commited on
Commit
b99373a
1 Parent(s): 2ba97bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- [1, 2, 3, 4, 5])
68
 
69
- img_for_download = [list_image[int(i)-1] for i in options]
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(