Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import sys
|
| 3 |
os.system("pip install transformers==4.27.0")
|
| 4 |
os.system("pip install numpy==1.23")
|
| 5 |
-
from transformers import pipeline, WhisperModel, WhisperTokenizer, WhisperFeatureExtractor, AutoFeatureExtractor, AutoProcessor, WhisperConfig, WhisperProcessor
|
| 6 |
os.system("pip install jiwer")
|
| 7 |
from jiwer import wer
|
| 8 |
os.system("pip install datasets[audio]")
|
|
|
|
| 2 |
import sys
|
| 3 |
os.system("pip install transformers==4.27.0")
|
| 4 |
os.system("pip install numpy==1.23")
|
| 5 |
+
from transformers import pipeline, WhisperModel, WhisperTokenizer, WhisperFeatureExtractor, AutoFeatureExtractor, AutoProcessor, WhisperConfig, WhisperProcessor, WhisperForConditionalGeneration
|
| 6 |
os.system("pip install jiwer")
|
| 7 |
from jiwer import wer
|
| 8 |
os.system("pip install datasets[audio]")
|