Spaces:
Sleeping
Sleeping
File size: 387 Bytes
4a8e930 37dca1b 4a8e930 37dca1b 70583d3 37dca1b 93c9839 4a8e930 ffcda09 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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
|