Spaces:
Sleeping
Sleeping
Update src/saving_utils.py
Browse files- src/saving_utils.py +1 -0
src/saving_utils.py
CHANGED
|
@@ -9,6 +9,7 @@ sys.path.append('.')
|
|
| 9 |
|
| 10 |
def save_similarity_output(output_dict, method_name, leaderboard_path="./data/leaderboard_results.csv", similarity_path="./data/similarity_results.csv"):
|
| 11 |
# Load or initialize the DataFrames
|
|
|
|
| 12 |
if os.path.exists(leaderboard_path):
|
| 13 |
leaderboard_df = pd.read_csv(leaderboard_path)
|
| 14 |
else:
|
|
|
|
| 9 |
|
| 10 |
def save_similarity_output(output_dict, method_name, leaderboard_path="./data/leaderboard_results.csv", similarity_path="./data/similarity_results.csv"):
|
| 11 |
# Load or initialize the DataFrames
|
| 12 |
+
print(script_dir)
|
| 13 |
if os.path.exists(leaderboard_path):
|
| 14 |
leaderboard_df = pd.read_csv(leaderboard_path)
|
| 15 |
else:
|