firagne commited on
Commit
bf32acd
1 Parent(s): 29d8a43
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,7 +61,8 @@ parent_file_names = set(list(fixation_id_to_file_name.values()))
61
  fixation_id_to_file_name = {}
62
 
63
  file_name_to_url = {}
64
- for file_name, file_url in zip(ind_filenames, url_dict):
 
65
  if file_name not in parent_file_names:
66
  continue
67
  file_name_to_url[file_name] = file_url
 
61
  fixation_id_to_file_name = {}
62
 
63
  file_name_to_url = {}
64
+ for file_url in url_dict:
65
+ file_name = os.path.splitext(os.path.basename(file_url))[0]
66
  if file_name not in parent_file_names:
67
  continue
68
  file_name_to_url[file_name] = file_url