mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #4018] [MERGED] feat: Fetch ElevenLabs voice ID by name #8176
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/4018
Author: @justinh-rahb
Created: 7/20/2024
Status: ✅ Merged
Merged: 8/2/2024
Merged by: @tjbck
Base:
dev-elevenlabs← Head:elevenlabs-voice-names📝 Commits (3)
0216ee1enh: ElevenLabs voice name -> ID6cecb96namec6c298bFetch didn't happen📊 Changes
2 files changed (+71 additions, -6 deletions)
View changed files
📝
backend/apps/audio/main.py(+43 -2)📝
src/lib/components/admin/Settings/Audio.svelte(+28 -4)📄 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
main.pyto fetch available voice names and integrate with the/speechendpoint.Audio.svelteto dynamically populate voice selection dropdowns with available voice names.Added
fetch_available_voicesfunction inmain.pyto fetch and map voice names to IDs./voicesendpoint inmain.pyto fetch available voice names.Audio.svelteto dynamically fetch and display available voice names.Changed
/speechendpoint inmain.pyto use voice names instead of IDs.Audio.svelteto use dynamically fetched voice names.Breaking Changes
/speechendpoint now requires voice names instead of voice IDs. This affects any existing integrations relying on the previous method of specifying voice IDs.Additional Information
e664a429a179562a2531Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.