Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from PIL import Image
|
|
| 10 |
#CUDA_VERSION = torch.__version__.split("+")[-1]
|
| 11 |
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
-
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/
|
| 14 |
os.system('pip install pyyaml==5.1')
|
| 15 |
|
| 16 |
import detectron2
|
|
|
|
| 10 |
#CUDA_VERSION = torch.__version__.split("+")[-1]
|
| 11 |
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
+
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html')
|
| 14 |
os.system('pip install pyyaml==5.1')
|
| 15 |
|
| 16 |
import detectron2
|