Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,9 @@ import subprocess
|
|
| 7 |
import shlex
|
| 8 |
import torch
|
| 9 |
|
| 10 |
-
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
| 11 |
os.system("git clone https://github.com/Visual-AI/vCLR.git && cd vCLR && rm -f requirements.txt && cd ..")
|
|
|
|
| 12 |
subprocess.run(
|
| 13 |
shlex.split(
|
| 14 |
"pip install detrex-0.3.0-cp310-cp310-linux_x86_64.whl"
|
|
|
|
| 7 |
import shlex
|
| 8 |
import torch
|
| 9 |
|
| 10 |
+
# os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
| 11 |
os.system("git clone https://github.com/Visual-AI/vCLR.git && cd vCLR && rm -f requirements.txt && cd ..")
|
| 12 |
+
os.system("pip install detectron2")
|
| 13 |
subprocess.run(
|
| 14 |
shlex.split(
|
| 15 |
"pip install detrex-0.3.0-cp310-cp310-linux_x86_64.whl"
|