Jellyfish042 commited on
Commit
7cf92c8
1 Parent(s): 4161029
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -192,7 +192,7 @@ def submit_model(name):
192
  all_data = {}
193
  time_list = []
194
  for folder in get_folders_matching_format('data'):
195
- folder_name = folder.split('\\')[1]
196
  time_list.append(folder_name)
197
  if all_data.get(folder) is None:
198
  all_data[folder_name] = {}
 
192
  all_data = {}
193
  time_list = []
194
  for folder in get_folders_matching_format('data'):
195
+ folder_name = os.path.basename(folder)
196
  time_list.append(folder_name)
197
  if all_data.get(folder) is None:
198
  all_data[folder_name] = {}