OpenDILab commited on
Commit
6619675
·
1 Parent(s): 258a63c

dev(hus): fix typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ if __name__ == '__main__':
134
 
135
  ###########################
136
  write_token = os.environ.get('token')
137
- huggingface_hub.login(token = write_token, write_permission = Ture)
138
  JSON_DATASET_DIR = Path("json_dataset")
139
  JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
140
  JSON_DATASET_PATH = JSON_DATASET_DIR / f"train-{uuid4()}.json"
 
134
 
135
  ###########################
136
  write_token = os.environ.get('token')
137
+ huggingface_hub.login(token = write_token, write_permission = True)
138
  JSON_DATASET_DIR = Path("json_dataset")
139
  JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
140
  JSON_DATASET_PATH = JSON_DATASET_DIR / f"train-{uuid4()}.json"