Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,11 @@ from detic.config import add_detic_config
|
|
| 16 |
from detic.modeling.utils import reset_cls_test
|
| 17 |
from pydantic import BaseModel, Field, PydanticUserError
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
class BaseModelWithA(BaseModel):
|
| 20 |
a: float
|
| 21 |
|
|
|
|
| 16 |
from detic.modeling.utils import reset_cls_test
|
| 17 |
from pydantic import BaseModel, Field, PydanticUserError
|
| 18 |
|
| 19 |
+
# cmd0 = "pip -m pip install 'https://github.com/facebookresearch/detectron2.git@5aeb252b194b93dc2879b4ac34bc51a31b5aee13'"
|
| 20 |
+
cmd0 = "python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'"
|
| 21 |
+
# cmd0 = "python -m pip install 'https://github.com/facebookresearch/detectron2.git'"
|
| 22 |
+
|
| 23 |
+
os.system(cmd0)
|
| 24 |
class BaseModelWithA(BaseModel):
|
| 25 |
a: float
|
| 26 |
|