Update app.py
Browse files
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
|