anderbogia commited on
Commit
901578e
·
1 Parent(s): 780b549

Update app.py

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