Skip to content

Added support for voices in audioInference#278

Open
Sirsho1997 wants to merge 3 commits intomainfrom
feature-audioInference-voices
Open

Added support for voices in audioInference#278
Sirsho1997 wants to merge 3 commits intomainfrom
feature-audioInference-voices

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

Added

  • IAudioSpeech now includes:
    • voices: Optional[List[Union[IAudioVoice, Dict[str, Any]]]]
  • Added IAudioVoice dataclass for multi-speaker TTS voice mapping:
    • speaker: str
    • voice: str

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds multi-speaker voice mapping support to audioInference speech payloads.

Changes:

  • Introduces IAudioVoice dataclass (speaker, voice) to represent per-speaker voice selection.
  • Extends IAudioSpeech with a voices field and coerces dict entries into IAudioVoice instances in __post_init__.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread runware/types.py Outdated
Comment thread runware/types.py Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread runware/types.py
Comment thread runware/types.py
Comment thread runware/types.py
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.

2 participants