xichen98cn commited on
Commit
be8c166
·
verified ·
1 Parent(s): 7ec8e3a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ os.system("pip install imutils")
5
  os.system("pip install gradio_client==0.2.7")
6
  os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'")
7
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
8
- os.system("python frozenseg/modeling/pixel_decoder/ops/setup.py build install")
9
 
10
  import gradio as gr
11
  from detectron2.utils.logger import setup_logger
 
5
  os.system("pip install gradio_client==0.2.7")
6
  os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'")
7
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
8
+ os.system("FORCE_CUDA=1 python frozenseg/modeling/pixel_decoder/ops/setup.py build install")
9
 
10
  import gradio as gr
11
  from detectron2.utils.logger import setup_logger