Here's an example of how you would use the "text-to-speech" pipeline with Bark: | |
from transformers import pipeline | |
pipe = pipeline("text-to-speech", model="suno/bark-small") | |
text = "[clears throat] This is a test and I just took a long pause." |
Here's an example of how you would use the "text-to-speech" pipeline with Bark: | |
from transformers import pipeline | |
pipe = pipeline("text-to-speech", model="suno/bark-small") | |
text = "[clears throat] This is a test and I just took a long pause." |