mrcuddle commited on
Commit
fbb02ac
·
verified ·
1 Parent(s): f2e9114

Update hf_merge.py

Browse files
Files changed (1) hide show
  1. hf_merge.py +1 -1
hf_merge.py CHANGED
@@ -16,7 +16,7 @@ class RepositoryManager:
16
  """
17
  base_model_path = os.path.join(os.getcwd(), "base_model")
18
 
19
- def __init__(self, repo_id=None, token=None):
20
  self.repo_id = repo_id
21
  self.token = token
22
  self.api = HfApi(token=token) if token else HfApi()
 
16
  """
17
  base_model_path = os.path.join(os.getcwd(), "base_model")
18
 
19
+ def __init__(self, repo_id, token):
20
  self.repo_id = repo_id
21
  self.token = token
22
  self.api = HfApi(token=token) if token else HfApi()