Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import os
|
2 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
3 |
-
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git")
|
4 |
-
os.system("cd
|
5 |
-
|
6 |
-
|
7 |
|
8 |
import gradio as gr
|
9 |
from demo.predictors import VisualizationDemo
|
|
|
1 |
import os
|
2 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
3 |
+
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR")
|
4 |
+
os.system("cd MrDETR && pip install .")
|
5 |
+
import sys
|
6 |
+
sys.path.append("MrDETR/")
|
7 |
|
8 |
import gradio as gr
|
9 |
from demo.predictors import VisualizationDemo
|