MusIre commited on
Commit
894da7a
·
1 Parent(s): d16271b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ subprocess.run(["python", "-m", "pip", "install", "--upgrade", "pip"])
5
  subprocess.run(["pip", "install", "gradio", "--upgrade"])
6
  subprocess.run(["pip", "install", "datasets"])
7
  subprocess.run(["pip", "install", "transformers"])
 
8
  subprocess.run(["pip", "install", "torch", "torchvision", "torchaudio", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
9
 
10
  from transformers import WhisperProcessor, WhisperForConditionalGeneration
 
5
  subprocess.run(["pip", "install", "gradio", "--upgrade"])
6
  subprocess.run(["pip", "install", "datasets"])
7
  subprocess.run(["pip", "install", "transformers"])
8
+ subprocess.run(["pip", "install", "soundfile"])
9
  subprocess.run(["pip", "install", "torch", "torchvision", "torchaudio", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
10
 
11
  from transformers import WhisperProcessor, WhisperForConditionalGeneration