Skip to content
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

__init__ Should export Prosody #9

Open
sourman opened this issue Jan 11, 2025 · 0 comments
Open

__init__ Should export Prosody #9

sourman opened this issue Jan 11, 2025 · 0 comments

Comments

@sourman
Copy link

sourman commented Jan 11, 2025

The init file in the sdk does not expose the Prosody class which is needed to use this feature of the API

from .schemas import ASRRequest, TTSRequest, ReferenceAudio

Update would look something like this

from .schemas import ASRRequest, TTSRequest, ReferenceAudio, Prosody
from .websocket import WebSocketSession, AsyncWebSocketSession

__all__ = [
    "Session",
    "HttpCodeErr",
    "ReferenceAudio",
    "TTSRequest",
    "Prosody",
    "ASRRequest",
    "WebSocketSession",
    "AsyncWebSocketSession",
]

let me know if you want me to open a pull request

sourman pushed a commit to sourman/fish-audio-python that referenced this issue Jan 12, 2025
- Expose ModelEntity class to users of the SDK to facilitate
  processing info about voice models
- Expose PaginatedResponse to facilitate processing of return of
  list_models API endpoint
- Expose Prosody to allow control of volume gain and speed multiplier
  on TTS jobs

Signed-off-by: Ahmed Mansour <[email protected]>
sourman pushed a commit to sourman/fish-audio-python that referenced this issue Jan 13, 2025
- Expose ModelEntity class to users of the SDK to facilitate
  processing info about voice models
- Expose PaginatedResponse to facilitate processing of return of
  list_models API endpoint
- Expose Prosody to allow control of volume gain and speed multiplier
  on TTS jobs

Signed-off-by: Ahmed Mansour <[email protected]>
sourman pushed a commit to sourman/fish-audio-python that referenced this issue Jan 13, 2025
- Expose ModelEntity class to users of the SDK to facilitate
  processing info about voice models
- Expose PaginatedResponse to facilitate processing of return of
  list_models API endpoint
- Expose Prosody to allow control of volume gain and speed multiplier
  on TTS jobs

Signed-off-by: Ahmed Mansour <[email protected]>
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

No branches or pull requests

1 participant