BennoKrojer commited on
Commit
6be8cad
1 Parent(s): 38bc774

load image list

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import json
6
  prefix = 'https://raw.githubusercontent.com/BennoKrojer/imagecode-val-set/main/image-sets-val/'
7
  set2ids = json.load(open('set2ids.json', 'r'))
8
 
9
- images = set2ids['MSR-VTT-videoTestVideo_video7016-shot1_2']
10
 
11
  index= int(st.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
12
 
 
6
  prefix = 'https://raw.githubusercontent.com/BennoKrojer/imagecode-val-set/main/image-sets-val/'
7
  set2ids = json.load(open('set2ids.json', 'r'))
8
 
9
+ images = [prefix+'/MSR-VTT-videoTestVideo_video7016-shot1_2/'+i for i in set2ids['MSR-VTT-videoTestVideo_video7016-shot1_2']]
10
 
11
  index= int(st.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
12