add generate method to SpeechT5ForTextToSpeech (#25233)

* add generate method to SpeechT5ForTextToSpeech

* update speecht5forTTS docstrings

* Remove defaults to None in generate docstrings

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

---------

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
This commit is contained in:
Yoach Lacombe
2023-08-03 15:12:07 +02:00
committed by GitHub
parent 8455346c5c
commit 6d3f9c1e2e
3 changed files with 65 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ This model was contributed by [Matthijs](https://huggingface.co/Matthijs). The o
[[autodoc]] SpeechT5ForTextToSpeech
- forward
- generate_speech
- generate
## SpeechT5ForSpeechToSpeech