Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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
|