-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/add voxcpm engine #9
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
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bb22356
feat(tts): add speaker_wav support and audio serialization
phonk2682 5c999f9
feat(tts): add VoxCPM engine implementation
phonk2682 62fa69f
feat(api): update TTS router for voice cloning support
phonk2682 1a78c20
chore: add VoxCPM dependency group
phonk2682 d11ae14
chore: configure VoxCPM engine with public model path
phonk2682 3a93d0a
Merge remote-tracking branch 'origin/main' into feature/add_voxcpm_en…
phonk2682 93726de
tests(voxcpm): rename tests; lint fixes for whitespace and unused vars
phonk2682 d4e0c0d
chore: remove local debug/manual files from repo and ignore them
phonk2682 0e13cf6
Merge remote-tracking branch 'origin/main' into feature/add_voxcpm_en…
phonk2682 42fbd44
Merge remote-tracking branch 'origin/main' into feature/add_voxcpm_en…
phonk2682 9c39144
tests(voxcpm): use asyncio.run() in edge-case tests to avoid missing …
phonk2682 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Empty file.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| from pydantic import Field | ||
|
|
||
| from app.models.engine import EngineConfig | ||
|
|
||
|
|
||
| class VoxCPMConfig(EngineConfig): | ||
| """Configuration for VoxCPM TTS Engine""" | ||
|
|
||
| prompt_wav_path: str | None = Field( | ||
| default=None, description="Path to a prompt speech for voice cloning" | ||
| ) | ||
| prompt_text: str | None = Field( | ||
| default=None, description="Reference text for the prompt speech" | ||
| ) | ||
| cfg_value: float = Field(default=2.0, description="LM guidance on LocDiT strength") | ||
| inference_timesteps: int = Field( | ||
| default=10, description="LocDiT inference timesteps" | ||
| ) | ||
| normalize: bool = Field(default=False, description="Enable external TN tool") | ||
| denoise: bool = Field(default=False, description="Enable external Denoise tool") | ||
| retry_badcase: bool = Field( | ||
| default=True, description="Enable retrying for bad cases" | ||
| ) | ||
| retry_badcase_max_times: int = Field(default=3, description="Maximum retry times") |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'except' clause does nothing but pass and there is no explanatory comment.