liangyuch commited on
Commit
b798673
β€’
1 Parent(s): e4280cf

hugging_face_demo branch

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ if os.getenv('SYSTEM') == 'spaces':
16
  subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
17
  subprocess.call('pip install pycocotools'.split())
18
  subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html".split())
19
- subprocess.call("pip install git+https://github.com/c-liangyu/OpenPSG.git@dev_apis".split())
 
20
  subprocess.call("pip install git+https://github.com/cocodataset/panopticapi.git".split())
21
 
22
  import cv2
 
16
  subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
17
  subprocess.call('pip install pycocotools'.split())
18
  subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html".split())
19
+ # subprocess.call("pip install git+https://github.com/c-liangyu/OpenPSG.git@dev_apis".split())
20
+ subprocess.call("pip install git+https://github.com/Jingkang50/OpenPSG.git@hugging_face_demo".split())
21
  subprocess.call("pip install git+https://github.com/cocodataset/panopticapi.git".split())
22
 
23
  import cv2