Spaces:
Running
Running
Update hf_merge.py
Browse files- 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
|
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()
|