mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #3612] [CLOSED] feat: Add TTS voice selection per model #21296
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3612
Author: @moblangeois
Created: 7/3/2024
Status: ❌ Closed
Base:
dev← Head:feature/tts-voice-per-model📝 Commits (1)
2358a9bfeat: Add TTS voice selection per model📊 Changes
4 files changed (+44 additions, -11 deletions)
View changed files
📝
backend/apps/webui/internal/migrations/001_initial_schema.py(+1 -0)📝
backend/apps/webui/internal/migrations/010_migrate_modelfiles_to_models.py(+1 -0)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+8 -9)📝
src/routes/(app)/workspace/models/edit/+page.svelte(+34 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
openedai-speechand OpenAI voices.Added
tts_voicein the metadata of the model to store the selected TTS voice.tts_voiceproperty in the speech synthesis logic to use the selected voice for TTS.Changed
tts_voiceproperty in the model metadata.Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
tts_voicefeature has been tested locally and verified to work with the existing models. Users can now assign a custom TTS voice to each model and hear distinct voices during speech synthesis.Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.