Spaces:
Runtime error
Runtime error
Feng
commited on
Commit
•
b69bb6d
1
Parent(s):
763da04
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ speech_recognizer = pipeline("automatic-speech-recognition", model="facebook/wav
|
|
10 |
|
11 |
from datasets import load_dataset, Audio
|
12 |
|
13 |
-
# dataset = load_dataset("PolyAI/minds14", name="en-US", split="train")
|
14 |
-
# dataset = load_dataset("beans", split="train")
|
15 |
dataset = load_dataset("lmms-lab/LMMs-Eval-Lite", "ai2d")
|
16 |
dataset = dataset.cast_column("audio", Audio(sampling_rate=speech_recognizer.feature_extractor.sampling_rate))
|
17 |
|
|
|
10 |
|
11 |
from datasets import load_dataset, Audio
|
12 |
|
|
|
|
|
13 |
dataset = load_dataset("lmms-lab/LMMs-Eval-Lite", "ai2d")
|
14 |
dataset = dataset.cast_column("audio", Audio(sampling_rate=speech_recognizer.feature_extractor.sampling_rate))
|
15 |
|