detection-demo / install_private_repos.py
kevinconka's picture
fix installation script to include seavision inference dependencies
d6bd548
raw
history blame
280 Bytes
import os
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
if GITHUB_TOKEN is not None:
try:
cmd = f'pip3 install "seavision[inference] @ git+https://github.com/SEA-AI/seavision"'
os.system(cmd)
except Exception as e:
print(f"Error: {e}")
raise e