anderbogia commited on
Commit
9fed2c7
·
verified ·
1 Parent(s): f6c3640

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,9 +4,10 @@ import os
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.18") #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")
 
10
 
11
 
12
  import gradio as gr
 
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]")
9
+ os.system("pip install librosa==0.9.0")
10
+ os.system("pip install torch accelerate torchaudio datasets easymms")
11
 
12
 
13
  import gradio as gr