Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,9 +5,6 @@ import shutil
|
|
| 5 |
import sys
|
| 6 |
import subprocess
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
| 12 |
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
|
| 13 |
subprocess.run(
|
|
@@ -17,9 +14,7 @@ subprocess.run(
|
|
| 17 |
)
|
| 18 |
|
| 19 |
sys.path.append("MrDETR/")
|
| 20 |
-
install_setup()
|
| 21 |
|
| 22 |
-
detrex-0.3.0-cp310-cp310-linux_x86_64.whl
|
| 23 |
|
| 24 |
|
| 25 |
from demo.predictors import VisualizationDemo
|
|
|
|
| 5 |
import sys
|
| 6 |
import subprocess
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
| 9 |
os.system("git clone https://github.com/Visual-AI/Mr.DETR.git MrDETR && cd MrDETR && rm -f requirements.txt && cd ..")
|
| 10 |
subprocess.run(
|
|
|
|
| 14 |
)
|
| 15 |
|
| 16 |
sys.path.append("MrDETR/")
|
|
|
|
| 17 |
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
from demo.predictors import VisualizationDemo
|