Liangyu commited on
Commit
1d068c5
Β·
1 Parent(s): f306a18

update detectron link

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 'git+https://github.com/facebookresearch/detectron2.git'".split())
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