MattyWhite commited on
Commit
6a949be
·
verified ·
1 Parent(s): dfc158a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,9 +18,9 @@ from pydantic import BaseModel, Field, PydanticUserError
18
  cmd1 = "pip -m pip install 'torch'"
19
 
20
  # cmd0 = "pip -m pip install 'https://github.com/facebookresearch/detectron2.git@5aeb252b194b93dc2879b4ac34bc51a31b5aee13'"
21
- cmd0 = "python -m pip install 'git+https://github.com/facebookresearch/detectron2.git@5aeb252b194b93dc2879b4ac34bc51a31b5aee13'"
22
  # cmd0 = "python -m pip install 'https://github.com/facebookresearch/detectron2.git'"
23
- os.system(cmd0)
24
  os.system(cmd1)
25
 
26
  class BaseModelWithA(BaseModel):
 
18
  cmd1 = "pip -m pip install 'torch'"
19
 
20
  # cmd0 = "pip -m pip install 'https://github.com/facebookresearch/detectron2.git@5aeb252b194b93dc2879b4ac34bc51a31b5aee13'"
21
+ #cmd0 = "python -m pip install 'git+https://github.com/facebookresearch/detectron2.git@5aeb252b194b93dc2879b4ac34bc51a31b5aee13'"
22
  # cmd0 = "python -m pip install 'https://github.com/facebookresearch/detectron2.git'"
23
+ #os.system(cmd0)
24
  os.system(cmd1)
25
 
26
  class BaseModelWithA(BaseModel):