File size: 511 Bytes
bf99ece da5147e bf99ece |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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/sam")
os.chdir(cwd1)
os.system("pip install -r requirements.txt")
os.system("python app_everything_brush.py")
|