amir22010 commited on
Commit
37f8403
·
1 Parent(s): 350234c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import os
 
2
  os.system('pip install transformers==4.25.1')
3
  os.system('pip install sentencepiece')
4
  # workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
 
1
  import os
2
+ os.system('python -m pip install --upgrade pip')
3
  os.system('pip install transformers==4.25.1')
4
  os.system('pip install sentencepiece')
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)