nithinraok commited on
Commit
5f243ee
1 Parent(s): 6a20f8c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -140,14 +140,15 @@ speaker_model = nemo_asr.models.EncDecSpeakerLabelModel.from_pretrained("nvidia/
140
 
141
  Using
142
 
143
- ```
144
  emb = speaker_model.get_embedding("nvidia/an255-fash-b.wav")
145
  ```
146
 
147
  ### Verifying two utterances (Speaker Verification)
148
 
149
  Now to check if two audio files are from the same speaker or not, simply do:
150
- ```
 
151
  speaker_model.verify_speakers("nvidia/an255-fash-b.wav","nvidia/cen7-fash-b.wav")
152
  ```
153
 
 
140
 
141
  Using
142
 
143
+ ```python
144
  emb = speaker_model.get_embedding("nvidia/an255-fash-b.wav")
145
  ```
146
 
147
  ### Verifying two utterances (Speaker Verification)
148
 
149
  Now to check if two audio files are from the same speaker or not, simply do:
150
+
151
+ ```python
152
  speaker_model.verify_speakers("nvidia/an255-fash-b.wav","nvidia/cen7-fash-b.wav")
153
  ```
154