Inference Endpoints
Vishakaraj commited on
Commit
b104809
·
1 Parent(s): 72d9615

Install detectron2

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -1,6 +1,6 @@
1
  import os
2
 
3
- os.system("pip install detectron2-0.6-cp310-cp310-linux_x86_64.whl")
4
  os.system("pip install deepspeed==0.7.0")
5
 
6
  from PIL import Image
 
1
  import os
2
 
3
+ os.system("cd detectron2 && pip install -e .")
4
  os.system("pip install deepspeed==0.7.0")
5
 
6
  from PIL import Image