Spaces:
Runtime error
Runtime error
Commit ·
cd7c7ec
1
Parent(s): ec11b9a
26 unmodified lines27282930313226 unmodified linesexample = int()example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))img_set, idx, descr = descriptions[example_idx]images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))26 unmodified lines2728293031323326 unmodified linesexample = int()example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))img_set, idx, descr = descriptions[example_idx]idx = int(idx)images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
app.py+1