zinc75 commited on
Commit
4140733
1 Parent(s): a6b4918

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -68,10 +68,10 @@ import pandas as pd
68
  from huggingsound import SpeechRecognitionModel
69
 
70
  model = SpeechRecognitionModel("Cnam-LMSSC/wav2vec2-french-phonemizer")
71
-
72
  audio_paths = ["./test_relecture_texte.wav", "./10179_11051_000021.flac"]
73
 
74
- # No need for the Audio files to be sampled at 16 kHz here, they are automatically resampled by Huggingsound
 
75
 
76
  transcriptions = model.transcribe(audio_paths)
77
 
@@ -80,7 +80,6 @@ transcriptions = model.transcribe(audio_paths)
80
  df = pd.DataFrame(transcriptions)
81
  df['Audio file'] = pd.DataFrame(audio_paths)
82
  df.set_index('Audio file', inplace=True)
83
-
84
  df[['transcription']]
85
  ```
86
 
 
68
  from huggingsound import SpeechRecognitionModel
69
 
70
  model = SpeechRecognitionModel("Cnam-LMSSC/wav2vec2-french-phonemizer")
 
71
  audio_paths = ["./test_relecture_texte.wav", "./10179_11051_000021.flac"]
72
 
73
+ # No need for the Audio files to be sampled at 16 kHz here,
74
+ # they are automatically resampled by Huggingsound
75
 
76
  transcriptions = model.transcribe(audio_paths)
77
 
 
80
  df = pd.DataFrame(transcriptions)
81
  df['Audio file'] = pd.DataFrame(audio_paths)
82
  df.set_index('Audio file', inplace=True)
 
83
  df[['transcription']]
84
  ```
85