output = pipe(text) | |
Here's a code snippet you can use to listen to the resulting audio in a notebook: | |
thon | |
from IPython.display import Audio | |
Audio(output["audio"], rate=output["sampling_rate"]) | |
For more examples on what Bark and other pretrained TTS models can do, refer to our | |
Audio course. |