Spaces:
Runtime error
Runtime error
Commit
·
3da022c
1
Parent(s):
9e3a8fe
V1.1
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ 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 |
print("Installation complete!")
|
| 12 |
|
| 13 |
# -*- coding: utf-8 -*-
|
|
|
|
| 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 |
|
| 15 |
# -*- coding: utf-8 -*-
|