roman-bachmann commited on
Commit
fdc4870
1 Parent(s): 0d223e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ CUDA_VERSION = torch.__version__.split("+")[-1]
5
  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 --trusted-host detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/{CUDA_VERSION}/torch{TORCH_VERSION}/index.html')
9
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
10
 
11
  # Imports
 
5
  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 git+https://github.com/cocodataset/panopticapi.git")
10
 
11
  # Imports