Spaces:
Runtime error
Runtime error
Commit
•
6ef12c8
1
Parent(s):
684bb84
Update uploader.py
Browse files- uploader.py +1 -1
uploader.py
CHANGED
@@ -14,7 +14,7 @@ class Uploader:
|
|
14 |
repo_type: str = 'model',
|
15 |
private: bool = True,
|
16 |
delete_existing_repo: bool = False,
|
17 |
-
input_token: str | None =
|
18 |
|
19 |
api = HfAPi(token=self.hf_token if self.hf_token else input_token)
|
20 |
|
|
|
14 |
repo_type: str = 'model',
|
15 |
private: bool = True,
|
16 |
delete_existing_repo: bool = False,
|
17 |
+
input_token: str | None = None) -> str:
|
18 |
|
19 |
api = HfAPi(token=self.hf_token if self.hf_token else input_token)
|
20 |
|