Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,6 +81,11 @@ DATA_FILENAME = "level2.json"
|
|
81 |
DATA_FILE = os.path.join("level2", DATA_FILENAME)
|
82 |
|
83 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
|
|
|
|
|
|
|
|
|
84 |
# print("is none?", HF_TOKEN is None)
|
85 |
|
86 |
# print("hfh", huggingface_hub.__version__)
|
|
|
81 |
DATA_FILE = os.path.join("level2", DATA_FILENAME)
|
82 |
|
83 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
84 |
+
|
85 |
+
repo = Repository(
|
86 |
+
local_dir="level2", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
87 |
+
)
|
88 |
+
|
89 |
# print("is none?", HF_TOKEN is None)
|
90 |
|
91 |
# print("hfh", huggingface_hub.__version__)
|