Skip to content

🤗 Hub and TensorFlowTTS integration for Inference API #588

@osanseviero

Description

@osanseviero

Hi TensorSpeech team! I propose building on top of the existing integration with 🤗 Hub to enable the Inference API and widgets

Current Status

Screen Shot 2021-06-02 at 4 49 45 PM

  • With the same PR, users now have access to a code snippet that shows how to load the model. You can use text-to-mel and mel-to-wav so the code snippet is different.

Screen Shot 2021-06-02 at 4 50 24 PM

What can we do next?
Our next step is to integrate it to the Inference API. This would make the widget in the model repos work and allow anyone to make requests to the API, which is very exciting!

The main challenge is that TTS is a two-step process: converting text to mel, and mel to speech. At the moment, every single repo only has one of the two components, so there is no way to make inference work end-to-end.

What do you think of bundling the two models? That is, in a single repo we would have Fastspeech2 and Melgan for example. We would only do this for the repos for which the Inference API is wanted, so it wouldn't be for all of them.

Happy to hear your thoughts,
Omar

cc @patrickvonplaten @julien-c

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions