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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃ぉ Added custom openai tts models and role variables #2002

Merged
merged 3 commits into from
May 8, 2024

Conversation

Yanyutin753
Copy link
Contributor

@Yanyutin753 Yanyutin753 commented May 6, 2024

Pull Request Checklist

Description

馃ぉ Added custom openai tts models and role environment variables

#1978

Variable Name Description
AUDIO_OPENAI_API_MODEL This variable is used to select which OpenAI Text to Speech (TTS) model to use. tts-1-hd and tts-1
AUDIO_OPENAI_API_VOICE This variable is used to select which OpenAI synthetic voice to use. The OpenAI API offers a variety of voices, including different genders and accents from different regions, to cater to various use cases.

Changelog Entry

Added

AUDIO_OPENAI_API_MODEL and AUDIO_OPENAI_API_SPEAKER


Additional Information

Self test passed

image

image

backend/apps/audio/main.py Outdated Show resolved Hide resolved
src/lib/apis/audio/index.ts Outdated Show resolved Hide resolved
@Yanyutin753
Copy link
Contributor Author

@tjbck Let's see if it works now

@tjbck
Copy link
Contributor

tjbck commented May 7, 2024

LGTM, Thanks!

@Yanyutin753
Copy link
Contributor Author

Yanyutin753 commented May 8, 2024

Self test passed 馃コ

@tjbck tjbck merged commit 675328c into open-webui:dev May 8, 2024
2 of 4 checks passed
@Yanyutin753 Yanyutin753 deleted the addAudio branch May 10, 2024 03:49
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.

None yet

2 participants