multimodalart HF staff commited on
Commit
5b1ae02
1 Parent(s): 9c37b2f

Update trainer.py

Browse files
Files changed (1) hide show
  1. trainer.py +1 -1
trainer.py CHANGED
@@ -42,7 +42,7 @@ class Trainer:
42
  cwd=org_dir)
43
  return model_dir.as_posix()
44
 
45
- def join_model_library_org(token) -> None:
46
  subprocess.run(
47
  shlex.split(
48
  f'curl -X POST -H "Authorization: Bearer {token}" -H "Content-Type: application/json" {URL_TO_JOIN_MODEL_LIBRARY_ORG}'
 
42
  cwd=org_dir)
43
  return model_dir.as_posix()
44
 
45
+ def join_model_library_org(self, token: str) -> None:
46
  subprocess.run(
47
  shlex.split(
48
  f'curl -X POST -H "Authorization: Bearer {token}" -H "Content-Type: application/json" {URL_TO_JOIN_MODEL_LIBRARY_ORG}'