DeepNAPSI / entrypoint.py
Lukas Folle
added remove app import
ffcda09
raw
history blame contribute delete
387 Bytes
import os
import sys
import subprocess
import git
repo_url = (
f"https://oauth2:{os.getenv('HANDKIGIT5')}@git5.cs.fau.de/folle/hand-ki-model.git"
)
repo_path = "repos/hand-ki-model"
if not os.path.exists(repo_path):
git.Repo.clone_from(repo_url, repo_path)
subprocess.check_call([sys.executable, "-m", "pip", "install", "repos/hand-ki-model/"])
import app # noqa: E402, F401