medha12 commited on
Commit
184e2f7
·
verified ·
1 Parent(s): 95f6564

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ try:
2
  import detectron2
3
  except:
4
  import os
5
- os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
 
6
  import sys
7
  import cv2
8
  import os
 
2
  import detectron2
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