Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -27,13 +27,13 @@ try:
|
|
27 |
hf_hub_download(
|
28 |
repo_id=DATASET_REPO_ID,
|
29 |
filename=DATA_FILENAME,
|
30 |
-
cache_dir=
|
31 |
)
|
32 |
except:
|
33 |
print("file not found")
|
34 |
|
35 |
repo = Repository(
|
36 |
-
local_dir=
|
37 |
)
|
38 |
|
39 |
def generate_html() -> str:
|
|
|
27 |
hf_hub_download(
|
28 |
repo_id=DATASET_REPO_ID,
|
29 |
filename=DATA_FILENAME,
|
30 |
+
cache_dir=DATA_DIRNAME_DOWNLOAD
|
31 |
)
|
32 |
except:
|
33 |
print("file not found")
|
34 |
|
35 |
repo = Repository(
|
36 |
+
local_dir=DATA_DIRNAME_REPO, clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
37 |
)
|
38 |
|
39 |
def generate_html() -> str:
|