medha12 commited on
Commit
6bcb98e
·
verified ·
1 Parent(s): f2a0acf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ try:
3
  except:
4
  import os
5
  # os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
6
- os.system("python -m pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html")
 
 
7
  import sys
8
  import cv2
9
  import os
 
3
  except:
4
  import os
5
  # os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
6
+ # os.system("python -m pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html")
7
+ os.system('git clone https://github.com/facebookresearch/detectron2.git')
8
+ os.system('python -m pip install -e detectron2')
9
  import sys
10
  import cv2
11
  import os