DeepNAPSI / entrypoint.py
lfolle's picture
Adapted git clone to use private git5 repo.
4a8e930
raw history blame
No virus
325 Bytes
import os
import sys
import subprocess
from huggingface_hub import Repository
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(""))
subprocess.check_call([sys.executable, "-m", "pip", "install", "repos/hand-ki-model/"])
import app