Spaces:
Runtime error
Runtime error
Update src/model.py
Browse files- src/model.py +1 -1
src/model.py
CHANGED
@@ -7,7 +7,7 @@ try:
|
|
7 |
import detectron2
|
8 |
except:
|
9 |
import os
|
10 |
-
os.system('pip install
|
11 |
|
12 |
from detectron2 import model_zoo
|
13 |
from detectron2.engine import DefaultPredictor
|
|
|
7 |
import detectron2
|
8 |
except:
|
9 |
import os
|
10 |
+
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html')
|
11 |
|
12 |
from detectron2 import model_zoo
|
13 |
from detectron2.engine import DefaultPredictor
|