phamvi856 commited on
Commit
3ffd481
1 Parent(s): da9d631

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -6,9 +6,7 @@ os.system('pip install -q git+https://github.com/huggingface/transformers.git')
6
 
7
  os.system("pip install pyyaml==5.1")
8
  # workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
9
- os.system(
10
- "pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
11
- )
12
 
13
  # install detectron2 that matches pytorch 1.8
14
  # See https://detectron2.readthedocs.io/tutorials/install.html for instructions
 
6
 
7
  os.system("pip install pyyaml==5.1")
8
  # workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
9
+ os.system("pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html")
 
 
10
 
11
  # install detectron2 that matches pytorch 1.8
12
  # See https://detectron2.readthedocs.io/tutorials/install.html for instructions