Unverified Commit a3d351c0 authored by Jack Yang's avatar Jack Yang Committed by GitHub
Browse files

Update text-to-speech.md (#31269)

SpeechBrain usage has changed
parent 3b4d3d09
...@@ -281,7 +281,7 @@ containing the corresponding speaker embedding. ...@@ -281,7 +281,7 @@ containing the corresponding speaker embedding.
```py ```py
>>> import os >>> import os
>>> import torch >>> import torch
>>> from speechbrain.pretrained import EncoderClassifier >>> from speechbrain.inference.classifiers import EncoderClassifier
>>> spk_model_name = "speechbrain/spkrec-xvect-voxceleb" >>> spk_model_name = "speechbrain/spkrec-xvect-voxceleb"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment