mgyigit commited on
Commit
9bf5a0d
1 Parent(s): b972165

Update src/saving_utils.py

Browse files
Files changed (1) hide show
  1. src/saving_utils.py +1 -1
src/saving_utils.py CHANGED
@@ -12,7 +12,7 @@ def save_similarity_output(output_dict, method_name, leaderboard_path="./data/le
12
  if os.path.exists(leaderboard_path):
13
  leaderboard_df = pd.read_csv(leaderboard_path)
14
  else:
15
- leaderboard_df = pd.DataFrame()
16
 
17
  if os.path.exists(similarity_path):
18
  similarity_df = pd.read_csv(similarity_path)
 
12
  if os.path.exists(leaderboard_path):
13
  leaderboard_df = pd.read_csv(leaderboard_path)
14
  else:
15
+ leaderboard_df = pd.DataFrame(columns=['Method'])
16
 
17
  if os.path.exists(similarity_path):
18
  similarity_df = pd.read_csv(similarity_path)