Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
a3d351c0
Unverified
Commit
a3d351c0
authored
Jun 07, 2024
by
Jack Yang
Committed by
GitHub
Jun 06, 2024
Browse files
Update text-to-speech.md (#31269)
SpeechBrain usage has changed
parent
3b4d3d09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/tasks/text-to-speech.md
docs/source/en/tasks/text-to-speech.md
+1
-1
No files found.
docs/source/en/tasks/text-to-speech.md
View file @
a3d351c0
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment