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

Modify Gemini TTS to support multi-language and update docs #216

Merged

Conversation

Kondasamy
Copy link
Contributor

  1. Modify Gemini TTS to support multi-language audio generation. Right now, language_code="en-US" is hardcoded to US English. Derive this parameter based on the Voice id passed by the user
  2. Eliminate setting ssml_gender in Gemini TTS as it is optional param based on the latest GCP TTS documentations.
  3. Update documentation on Gemini and Multi-speaker TTS

@souzatharsis
Copy link
Owner

souzatharsis commented Dec 27, 2024 via email

@Kondasamy
Copy link
Contributor Author

Merry Christmas! @souzatharsis

@Kondasamy
Copy link
Contributor Author

@souzatharsis I noticed that the build and tests are failing,

Main Error: The predominant error is google.auth.exceptions.DefaultCredentialsError: Your default credentials were not found. This indicates an issue with authentication and access to Google Cloud services. You need to set up your Google Cloud credentials properly.

There are also some AssertionError failures, mostly with exit code checks, likely stemming from the underlying credential problem causing premature exits. I think we have to address the credentials issue first.

Could you please help here?

@souzatharsis souzatharsis merged commit 92aa9ad into souzatharsis:main Dec 28, 2024
1 of 3 checks passed
@souzatharsis
Copy link
Owner

Thanks for your contribution @Kondasamy!

This was one of the highest in-demand features.
Feel free to modify the demo ipynb to include an example on how to use and/or add sample audio to README.

(the default Gemini API KEY in the repo had expired)

@Kondasamy Kondasamy deleted the feat/gemini-tts-language-support branch December 28, 2024 10:05
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.

2 participants