BabakScrapes commited on
Commit
ca1cd14
·
verified ·
1 Parent(s): 6ea1eab

Update app.py

Browse files

Updated the transformers version for compatibility

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import os
2
 
3
- os.system("python -m pip install transformers")
4
  os.system("python -m pip install spacy==3.5.4")
5
  os.system("python -m pip install spacy-alignments==0.9.1")
6
  os.system("python -m pip install spacy-legacy==3.0.12")
 
1
  import os
2
 
3
+ os.system("python -m pip install transformers==4.26.1")
4
  os.system("python -m pip install spacy==3.5.4")
5
  os.system("python -m pip install spacy-alignments==0.9.1")
6
  os.system("python -m pip install spacy-legacy==3.0.12")