Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,7 @@ import os
|
|
2 |
import sys
|
3 |
|
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 |
-
os.chdir("Mask2Former")
|
8 |
-
sys.path.append("/home/user/app/Mask2Former")
|
9 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
10 |
|
11 |
import gradio as gr
|
|
|
2 |
import sys
|
3 |
|
4 |
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
|
|
5 |
|
|
|
|
|
6 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
7 |
|
8 |
import gradio as gr
|