Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
-
|
| 3 |
-
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt &&
|
| 4 |
import sys
|
| 5 |
sys.path.append("MrDETR/")
|
| 6 |
|
|
|
|
| 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 && cd MrDETR && rm -f requirements.txt && python setup.py build && python setup.py install & cd ..")
|
| 4 |
import sys
|
| 5 |
sys.path.append("MrDETR/")
|
| 6 |
|