jinhybr commited on
Commit
fabf771
·
1 Parent(s): ec9238e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import os
2
 
 
 
 
 
3
  os.system("pip install pyyaml==5.1")
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)
5
  os.system(
 
1
  import os
2
 
3
+ os.system('pip install pip --upgrade')
4
+ os.system('pip install -q git+https://github.com/huggingface/transformers.git')
5
+
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(