Spaces:
Build error
Build error
Liangyu
commited on
Commit
Β·
1d068c5
1
Parent(s):
f306a18
update detectron link
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
18 |
subprocess.call('pip uninstall -y opencv-python-headless'.split())
|
19 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
20 |
subprocess.call('pip install pycocotools'.split())
|
21 |
-
subprocess.call("pip install
|
22 |
|
23 |
import cv2
|
24 |
import gradio as gr
|
|
|
18 |
subprocess.call('pip uninstall -y opencv-python-headless'.split())
|
19 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
20 |
subprocess.call('pip install pycocotools'.split())
|
21 |
+
subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html'".split())
|
22 |
|
23 |
import cv2
|
24 |
import gradio as gr
|