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

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
- 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
 
2
 
3
  subprocess.run(["pip", "install", "datasets"])
4
  subprocess.run(["pip", "install", "transformers"])
5
+ subprocess.run(["pip", "install", "torch", "torchvision", "torchaudio", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
6
 
7
  from transformers import WhisperProcessor, WhisperForConditionalGeneration
8
  from datasets import load_dataset