Spaces:
Running
Running
| import os | |
| GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") | |
| if GITHUB_TOKEN is not None: | |
| try: | |
| cmd = f'pip3 install "seavision @ git+https://{GITHUB_TOKEN}@github.com/SEA-AI/seavision"' | |
| os.system(cmd) | |
| except Exception as e: | |
| print(f"Error: {e}") | |
| raise e |