Spaces:
Running
Running
Change the discussion repo to the model card just before release
Browse files- run_jobs.py +2 -4
run_jobs.py
CHANGED
@@ -106,10 +106,8 @@ def prepare_env_and_get_command(
|
|
106 |
command.append(os.environ.get(HF_WRITE_TOKEN))
|
107 |
|
108 |
# The repo to publish post
|
109 |
-
|
110 |
-
|
111 |
-
# TODO: Replace by the model id
|
112 |
-
command.append(os.environ.get(HF_REPO_ID) or os.environ.get(HF_SPACE_ID))
|
113 |
|
114 |
# The repo to publish for ranking
|
115 |
if leaderboard_dataset:
|
|
|
106 |
command.append(os.environ.get(HF_WRITE_TOKEN))
|
107 |
|
108 |
# The repo to publish post
|
109 |
+
command.append("--discussion_repo")
|
110 |
+
command.append(m_id)
|
|
|
|
|
111 |
|
112 |
# The repo to publish for ranking
|
113 |
if leaderboard_dataset:
|