Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
9 |
|
10 |
import gradio as gr
|
11 |
from detectron2.utils.logger import setup_logger
|
@@ -39,7 +39,7 @@ predictor = DefaultPredictor(cfg)
|
|
39 |
|
40 |
|
41 |
title = "FrozenSeg"
|
42 |
-
article = "<p style='text-align: center'><a href='' target='_blank'>FrozenSeg</a> | <a href='' target='_blank'>Github Repo</a></p>"
|
43 |
|
44 |
examples = [
|
45 |
[
|
|
|
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
|
|
|
39 |
|
40 |
|
41 |
title = "FrozenSeg"
|
42 |
+
article = "<p style='text-align: center'><a href='https://www.arxiv.org/abs/2409.03525' target='_blank'>FrozenSeg</a> | <a href='https://github.com/chenxi52/FrozenSeg' target='_blank'>Github Repo</a></p>"
|
43 |
|
44 |
examples = [
|
45 |
[
|