Update README.md
Browse files
README.md
CHANGED
@@ -69,6 +69,8 @@ from huggingsound import SpeechRecognitionModel
|
|
69 |
model = SpeechRecognitionModel("Cnam-LMSSC/wav2vec2-french-phonemizer")
|
70 |
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
|
71 |
|
|
|
|
|
72 |
transcriptions = model.transcribe(audio_paths)
|
73 |
```
|
74 |
|
|
|
69 |
model = SpeechRecognitionModel("Cnam-LMSSC/wav2vec2-french-phonemizer")
|
70 |
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
|
71 |
|
72 |
+
# No need for the Audio files to be sampled at 16 kHz here, they are automatically resampled by Huggingsound
|
73 |
+
|
74 |
transcriptions = model.transcribe(audio_paths)
|
75 |
```
|
76 |
|