Spaces:
Runtime error
Runtime error
roman-bachmann
commited on
Commit
·
6a5dc6f
1
Parent(s):
324b0a6
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ print("torch: ", TORCH_VERSION, "; cuda: ", CUDA_VERSION)
|
|
6 |
# Install detectron2 that matches the above pytorch version
|
7 |
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions
|
8 |
os.system(f'pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/{CUDA_VERSION}/torch{TORCH_VERSION}/index.html')
|
9 |
-
os.system("pip install
|
10 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
11 |
|
12 |
# Imports
|
|
|
6 |
# Install detectron2 that matches the above pytorch version
|
7 |
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions
|
8 |
os.system(f'pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/{CUDA_VERSION}/torch{TORCH_VERSION}/index.html')
|
9 |
+
os.system("pip install jinja2")
|
10 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
11 |
|
12 |
# Imports
|