Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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
|