inoki-giskard commited on
Commit
75c136b
·
verified ·
1 Parent(s): d008559

Change the discussion repo to the model card just before release

Browse files
Files changed (1) hide show
  1. 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
- if os.environ.get(HF_REPO_ID) or os.environ.get(HF_SPACE_ID):
110
- command.append("--discussion_repo")
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: