Spaces:
Running
Running
Commit
·
66174f6
1
Parent(s):
179ef0e
Update installation script to include seavision inference dependencies
Browse files- install_private_repos.py +2 -2
install_private_repos.py
CHANGED
@@ -3,8 +3,8 @@ import os
|
|
3 |
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
|
4 |
if GITHUB_TOKEN is not None:
|
5 |
try:
|
6 |
-
cmd = f
|
7 |
os.system(cmd)
|
8 |
except Exception as e:
|
9 |
print(f"Error: {e}")
|
10 |
-
raise e
|
|
|
3 |
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
|
4 |
if GITHUB_TOKEN is not None:
|
5 |
try:
|
6 |
+
cmd = f'pip3 install "seavision[inference]" git+https://{GITHUB_TOKEN}@github.com/SEA-AI/seavision.git'
|
7 |
os.system(cmd)
|
8 |
except Exception as e:
|
9 |
print(f"Error: {e}")
|
10 |
+
raise e
|