OpenDILab commited on
Commit
dd79036
1 Parent(s): d739b19

dev(hus): update token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ if __name__ == '__main__':
135
  ###########################
136
  if not os.path.exists(folder_path):
137
  os.makedirs(folder_path)
138
- write_token = os.environ.get('token')
139
  huggingface_hub.login(token = write_token, write_permission = True)
140
  JSON_DATASET_DIR = Path("json_dataset")
141
  JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)
 
135
  ###########################
136
  if not os.path.exists(folder_path):
137
  os.makedirs(folder_path)
138
+ write_token = os.environ.get('CONTAINER')
139
  huggingface_hub.login(token = write_token, write_permission = True)
140
  JSON_DATASET_DIR = Path("json_dataset")
141
  JSON_DATASET_DIR.mkdir(parents=True, exist_ok=True)