Spaces:
Runtime error
Runtime error
Commit
·
171ffd6
1
Parent(s):
3da022c
V1.1
Browse files
app.py
CHANGED
|
@@ -8,7 +8,6 @@ if importlib.util.find_spec("detectron2") is None:
|
|
| 8 |
print("Installing PyTorch and Detectron2...")
|
| 9 |
os.system("pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu")
|
| 10 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
| 11 |
-
os.system("pip install python-box")
|
| 12 |
|
| 13 |
print("Installation complete!")
|
| 14 |
|
|
|
|
| 8 |
print("Installing PyTorch and Detectron2...")
|
| 9 |
os.system("pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu")
|
| 10 |
os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
|
|
|
| 11 |
|
| 12 |
print("Installation complete!")
|
| 13 |
|