Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,14 @@
|
|
71 |
|
72 |
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
import streamlit as st
|
75 |
import numpy as np
|
76 |
import cv2
|
|
|
71 |
|
72 |
|
73 |
|
74 |
+
|
75 |
+
!git clone 'https://github.com/facebookresearch/detectron2'
|
76 |
+
dist = distutils.core.run_setup("./detectron2/setup.py")
|
77 |
+
!python -m pip install {' '.join([f"'{x}'" for x in dist.install_requires])}
|
78 |
+
sys.path.insert(0, os.path.abspath('./detectron2'))
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
import streamlit as st
|
83 |
import numpy as np
|
84 |
import cv2
|