lfolle commited on
Commit
1c146a3
1 Parent(s): 343593f

Update entrypoint.py

Browse files
Files changed (1) hide show
  1. entrypoint.py +4 -3
entrypoint.py CHANGED
@@ -4,9 +4,10 @@ import shutil
4
  import subprocess
5
  from huggingface_hub import Repository
6
 
7
- hooks_path = ".git/hooks/"
8
- if os.path.exists(hooks_path):
9
- shutil.rmtree(hooks_path)
 
10
  Repository("repos/hand-ki-model", f"https://oauth2:{os.getenv('HANDKIGIT5')}@git5.cs.fau.de/folle/hand-ki-model.git", use_auth_token=os.getenv(""))
11
 
12
  subprocess.check_call([sys.executable, "-m", "pip", "install", "repos/hand-ki-model/"])
 
4
  import subprocess
5
  from huggingface_hub import Repository
6
 
7
+ # Bug got fixed lately
8
+ # hooks_path = ".git/hooks/"
9
+ # if os.path.exists(hooks_path):
10
+ # shutil.rmtree(hooks_path)
11
  Repository("repos/hand-ki-model", f"https://oauth2:{os.getenv('HANDKIGIT5')}@git5.cs.fau.de/folle/hand-ki-model.git", use_auth_token=os.getenv(""))
12
 
13
  subprocess.check_call([sys.executable, "-m", "pip", "install", "repos/hand-ki-model/"])