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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -66,8 +66,7 @@ if txt is not None:
66
  'Which image you want download?',
67
  [1, 2, 3, 4, 5])
68
 
69
- img_for_download = [list_image[i-1] for i in options]
70
-
71
  st.write('You selected:', img_for_download)
72
 
73
  # btn = st.download_button(
 
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(