Spaces:
Runtime error
Runtime error
Update entrypoint.py
Browse files- entrypoint.py +1 -1
entrypoint.py
CHANGED
@@ -4,7 +4,7 @@ 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(""))
|
|
|
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(""))
|