Spaces:
Runtime error
Runtime error
RRoundTable commited on
Commit ·
c40b207
1
Parent(s): 65283f8
Add app.py
Browse files1234567891011121314151617import 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")os.chdir(cwd1)os.system("pip install -r requirements.txt")os.system("python app_segment_simiarthings.py")app.pyAdded+17