nielsr HF staff commited on
Commit
77a03f0
1 Parent(s): 9ebcf18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -1,6 +1,4 @@
1
  import os
2
- os.system('pip install gradio --upgrade')
3
- os.system('pip install git+https://github.com/huggingface/transformers.git --upgrade')
4
  os.system('pip install pyyaml==5.1')
5
  # workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
6
  os.system('pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
 
1
  import os
 
 
2
  os.system('pip install pyyaml==5.1')
3
  # workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
4
  os.system('pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html')