anderbogia commited on
Commit
8a61c8d
·
verified ·
1 Parent(s): 0769ed0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  #os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y") #Installing Rust manually
3
  #os.system("exec bash")
4
  #os.system("pip install --upgrade pip")
5
- os.system("pip install transformers==4.30.2") #Some interoperability issue with Wav2Vec2CTCTokenizer. Refer here: https://github.com/huggingface/transformers/pull/26349
6
  os.system("pip install tokenizers fairseq")
7
  os.system("pip install numpy==1.24") #NumPy 1.24 or less needed by Numba. Use 1.23, librosa still uses np.complex which was dropped in NumPy 1.24
8
  #os.system("pip install git+https://github.com/huggingface/transformers datasets[torch]")
 
2
  #os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y") #Installing Rust manually
3
  #os.system("exec bash")
4
  #os.system("pip install --upgrade pip")
5
+ os.system("pip install transformers==4.33")
6
  os.system("pip install tokenizers fairseq")
7
  os.system("pip install numpy==1.24") #NumPy 1.24 or less needed by Numba. Use 1.23, librosa still uses np.complex which was dropped in NumPy 1.24
8
  #os.system("pip install git+https://github.com/huggingface/transformers datasets[torch]")