back to old
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -146,7 +146,7 @@ def get_edited_yaml_readme(repo, token: str | None):
|
|
146 |
return str(card)
|
147 |
|
148 |
|
149 |
-
def commit(repo,
|
150 |
global df
|
151 |
data = get_json_format_data()
|
152 |
finished_models = get_datas(data)
|
|
|
146 |
return str(card)
|
147 |
|
148 |
|
149 |
+
def commit(repo, pr_number=None, message="Adding Evaluation Results", oauth_token: gr.OAuthToken | None = None): # specify pr number if you want to edit it, don't if you don't want
|
150 |
global df
|
151 |
data = get_json_format_data()
|
152 |
finished_models = get_datas(data)
|