akhaliq HF staff commited on
Commit
a390692
1 Parent(s): 551e0bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import sys
4
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
5
  os.system("git clone https://github.com/AK391/Mask2Former.git")
6
 
7
- sys.append.path("Mask2Former")
8
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
9
 
10
  import gradio as gr
 
4
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
5
  os.system("git clone https://github.com/AK391/Mask2Former.git")
6
 
7
+ sys.path.append("Mask2Former")
8
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
9
 
10
  import gradio as gr