Spaces:
Runtime error
Runtime error
xichen98cn
commited on
Commit
•
e89b19f
1
Parent(s):
13928bb
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
import os
|
2 |
import sys
|
3 |
|
|
|
4 |
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 |
-
|
9 |
|
10 |
import gradio as gr
|
11 |
from detectron2.utils.logger import setup_logger
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
|
4 |
+
os.system("python frozenseg/modeling/pixel_decoder/ops/setup.py build install")
|
5 |
os.system("pip install imutils")
|
6 |
os.system("pip install gradio_client==0.2.7")
|
7 |
os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
8 |
os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
|
9 |
+
|
10 |
|
11 |
import gradio as gr
|
12 |
from detectron2.utils.logger import setup_logger
|