Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spectrogram and waveform model mapping for TTS/A pipeline #26114

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

Vaibhavs10
Copy link
Member

@Vaibhavs10 Vaibhavs10 commented Sep 12, 2023

What does this PR do?

Updates the mapping names for the models used for TTS & TTA pipelines.

Fixes # (issue)
MODEL_FOR_TEXT_TO_SPECTROGRAM_NAMES -> MODEL_FOR_TEXT_TO_SPECTROGRAM_MAPPING_NAMES
MODEL_FOR_TEXT_TO_SPECTROGRAM_NAMES -> MODEL_FOR_TEXT_TO_WAVEFORM_MAPPING_NAMES

Who can review?

@ylacombe @sanchit-gandhi

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 12, 2023

The documentation is not available anymore as the PR was closed or merged.

@Vaibhavs10 Vaibhavs10 requested a review from ylacombe September 12, 2023 14:56
Copy link
Contributor

@sanchit-gandhi sanchit-gandhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Vaibhavs10! Are you able to get the correct output when you run the following from the base of the transformers repo?

python utils/update_metadata.py --check-only

@Vaibhavs10
Copy link
Member Author

@sanchit-gandhi I just tested, and I essentially get no output!
Do you think that's good?

@sanchit-gandhi
Copy link
Contributor

Requesting final review from Arthur! (who I believe is now on watch 👀)

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Copy link
Contributor

@ylacombe ylacombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the PR @Vaibhavs10 !

@ArthurZucker ArthurZucker merged commit 32ec734 into huggingface:main Sep 13, 2023
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants