Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ from PIL import Image
|
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
| 14 |
os.system('pip install pyyaml==5.1')
|
|
|
|
| 15 |
|
| 16 |
import detectron2
|
| 17 |
|
|
|
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
| 14 |
os.system('pip install pyyaml==5.1')
|
| 15 |
+
os.system('pip install opencv')
|
| 16 |
|
| 17 |
import detectron2
|
| 18 |
|