justinlangsethgenesis commited on
Commit
5cc9741
·
1 Parent(s): 5df2d03

Fix: use dash instead of pipe in org+user format

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -201,8 +201,8 @@ if __name__ == "__main__":
201
  if profile is None:
202
  return "⚠️ Please login with HuggingFace first to submit."
203
 
204
- # Append HF username to organization
205
- org_with_user = f"{org} | user {profile.username}"
206
  return process_submission(split, agent_name, model_family, repo_url, file, org_with_user, mail)
207
 
208
  submit_button.click(
 
201
  if profile is None:
202
  return "⚠️ Please login with HuggingFace first to submit."
203
 
204
+ # Append HF username to organization (use dash instead of pipe to pass validation)
205
+ org_with_user = f"{org} - user {profile.username}"
206
  return process_submission(split, agent_name, model_family, repo_url, file, org_with_user, mail)
207
 
208
  submit_button.click(