Spaces:
Runtime error
Runtime error
fix key
Browse files
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
|
|
|
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
|