Spaces:
Running
Running
Commit
·
bd5c6bb
1
Parent(s):
49fbe0f
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
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("exec bash")
|
4 |
-
os.system("pip install --upgrade pip")
|
5 |
-
os.system("pip install transformers==3.4.0") #Some interoperability issue with Wav2Vec2CTCTokenizer
|
6 |
-
|
7 |
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
|
8 |
os.system("pip install git+https://github.com/huggingface/transformers datasets[torch]")
|
9 |
os.system("pip install torch accelerate torchaudio datasets librosa easymms")
|
|
|
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("exec bash")
|
4 |
+
#os.system("pip install --upgrade pip")
|
5 |
+
#os.system("pip install transformers==3.4.0") #Some interoperability issue with Wav2Vec2CTCTokenizer
|
6 |
+
os.system("pip install tokenizers")
|
7 |
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
|
8 |
os.system("pip install git+https://github.com/huggingface/transformers datasets[torch]")
|
9 |
os.system("pip install torch accelerate torchaudio datasets librosa easymms")
|