Spaces:
Runtime error
Runtime error
Try to remove .git hooks
Browse files- background_task.py +1 -1
background_task.py
CHANGED
@@ -14,7 +14,7 @@ ELO_DIR = "soccer_elo"
|
|
14 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
15 |
|
16 |
|
17 |
-
|
18 |
repo = Repository(
|
19 |
local_dir=ELO_DIR, clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
20 |
)
|
|
|
14 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
15 |
|
16 |
|
17 |
+
subprocess.run("rm -rf .git/hooks".split())
|
18 |
repo = Repository(
|
19 |
local_dir=ELO_DIR, clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
20 |
)
|