Repository navigation
feat(tts): keep voice samples in ~/.infer/voice/samples - #1819
Merged
Merged
Conversation
# Conflicts: # docs/text-to-speech.md
5 tasks
Contributor
|
🎉 This PR is included in version 0.259.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The voice samples library - the WAV recordings
TextToSpeechclones a voice from - lived in~/.infer/models/tts/samples, inside the model cache. The samples are the user's own recordings, not something to download again, and the troubleshooting docs tell users to delete files from that cache. The library moves to~/.infer/voice/samples.A bare
voice_samplename is looked up in the working directory, then in the new library. The old place is no longer read. Someone with samples there moves them once:Stacked on the PR that routes all speech through the gateway - retarget to
mainonce that one merges.Changes
config/projects.go-VoiceSamplesDir().internal/tools/text_to_speech.go- the tool reads the library from there.internal/tools/TextToSpeech.yamland the tool definitions golden file - the new path in the description.internal/tools/text_to_speech_test.go- the lookup order as a table, and a sample left in the old place is not found.docs/text-to-speech.md,docs/tools-reference.md.Affects
inference-gateway/desktop, which writes the library - desktop PR 557.