MusIre commited on
Commit
b5de207
Β·
1 Parent(s): 56899b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import subprocess
2
 
3
  subprocess.run(["pip", "install", "datasets"])
4
  subprocess.run(["pip", "install", "transformers"])
5
-
6
 
7
  from transformers import WhisperProcessor, WhisperForConditionalGeneration
8
  from datasets import load_dataset
 
2
 
3
  subprocess.run(["pip", "install", "datasets"])
4
  subprocess.run(["pip", "install", "transformers"])
5
+ subprocess.run(["pip", "install", "torch==1.9.1+cpu", "torchvision==0.10.1+cpu", "torchaudio==0.9.1+cpu", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
6
 
7
  from transformers import WhisperProcessor, WhisperForConditionalGeneration
8
  from datasets import load_dataset