TheXeos commited on
Commit
caccaed
1 Parent(s): 279d9a3

Try to remove .git hooks

Browse files
Files changed (1) hide show
  1. 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
- os.remove(".git")
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
  )