Fix typo
Browse files
README.md
CHANGED
|
@@ -57,7 +57,7 @@ from datasets import load_dataset
|
|
| 57 |
import soundfile as sf
|
| 58 |
|
| 59 |
model = Speech2TextForConditionalGeneration.from_pretrained("facebook/s2t-small-librispeech-asr")
|
| 60 |
-
processor =
|
| 61 |
|
| 62 |
def map_to_array(batch):
|
| 63 |
speech, _ = sf.read(batch["file"])
|
|
|
|
| 57 |
import soundfile as sf
|
| 58 |
|
| 59 |
model = Speech2TextForConditionalGeneration.from_pretrained("facebook/s2t-small-librispeech-asr")
|
| 60 |
+
processor = Speech2TextProcessor.from_pretrained("facebook/s2t-small-librispeech-asr")
|
| 61 |
|
| 62 |
def map_to_array(batch):
|
| 63 |
speech, _ = sf.read(batch["file"])
|