ThomasSimonini HF staff commited on
Commit
097eb3d
·
verified ·
1 Parent(s): f7f3e73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ DATASET_REPO_URL = "https://huggingface.co/datasets/agents-course/certificates"
19
  CERTIFIED_USERS_FILENAME = "certified_users.csv"
20
  CERTIFIED_USERS_DIR = "certificates"
21
  repo = Repository(
22
- local_dir=CERTIFIED_USERS_DIR, clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
23
  )
24
 
25
  # Convert dataset to a list of dicts and randomly sort
 
19
  CERTIFIED_USERS_FILENAME = "certified_users.csv"
20
  CERTIFIED_USERS_DIR = "certificates"
21
  repo = Repository(
22
+ local_dir=CERTIFIED_USERS_DIR, clone_from=DATASET_REPO_URL, use_auth_token=os.getenv("HF_TOKEN")
23
  )
24
 
25
  # Convert dataset to a list of dicts and randomly sort