minor repo change
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def upload_datasets(dfs):
|
|
50 |
CommitOperationAdd(path_in_repo=f"{time}/datasets_df.csv", path_or_fileobj=(dfs[1].to_csv()).encode()),
|
51 |
CommitOperationAdd(path_in_repo=f"{time}/spaces_df.csv", path_or_fileobj=(dfs[2].to_csv()).encode())]
|
52 |
|
53 |
-
return (create_commit(repo_id="Weyaxi/huggingface-leaderboard
|
54 |
|
55 |
|
56 |
def get_most(df_for_most_function):
|
|
|
50 |
CommitOperationAdd(path_in_repo=f"{time}/datasets_df.csv", path_or_fileobj=(dfs[1].to_csv()).encode()),
|
51 |
CommitOperationAdd(path_in_repo=f"{time}/spaces_df.csv", path_or_fileobj=(dfs[2].to_csv()).encode())]
|
52 |
|
53 |
+
return (create_commit(repo_id="Weyaxi/huggingface-leaderboard", operations=operations, commit_message=f"Uploading history of {time}", repo_type="dataset", token=HF_TOKEN))
|
54 |
|
55 |
|
56 |
def get_most(df_for_most_function):
|