Spaces:
Runtime error
Runtime error
import os | |
github_user = os.environ.get("GITHUB_USER") | |
github_token = os.environ.get("GITHUB_TOKEN") | |
repo_name = "annotation-ai/mlwiz-technical-demo" | |
os.system(f"export GITHUB_USER={github_user}") | |
os.system(f"export GITHUB_TOKEN={github_token}") | |
os.system(f"git clone https://{github_user}:{github_token}@github.com/{repo_name}") | |
cwd0 = os.getcwd() | |
cwd1 = os.path.join(cwd0, "mlwiz-technical-demo/reidentification") | |
os.chdir(cwd1) | |
os.system("pip install -r requirements.txt") | |
os.system("make checkpoint") | |
os.system("python app_person_reidentification.py") |