multimodalart HF staff commited on
Commit
6ef12c8
1 Parent(s): 684bb84

Update uploader.py

Browse files
Files changed (1) hide show
  1. 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 = False) -> str:
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