Skip to content

Commit

Permalink
[doc] fix README.md (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdliang11 authored Sep 14, 2023
1 parent 75f8bf9 commit 9666693
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/binding/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ The parameters of `extract_embedding`
```python
import wespeakerruntime as wespeaker
speaker = wespeaker.Speaker(lang='chs')
emb1 = speaker.extract_embedding_wav(wav1_path)
emb2 = speaker.extract_embedding_wav(wav2_path)
emb1 = speaker.extract_embedding(wav1_path)[0]
emb2 = speaker.extract_embedding(wav2_path)[0]
score = speaker.compute_cosine_score(emb1, emb2)
```
The parameters of `compute_cosine_score`:
Expand Down Expand Up @@ -97,4 +97,4 @@ The parameters of `extract_embedding_kaldiio`:
git clone [email protected]:wenet-e2e/wespeaker.git
cd wespeaker/runtime/binding/python
python setup.py install
```
```

0 comments on commit 9666693

Please sign in to comment.