Skip to content

Commit

Permalink
Update speech.py
Browse files Browse the repository at this point in the history
  • Loading branch information
herumes committed Jul 31, 2024
1 parent fccaa79 commit 40cf4ea
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions shuttleai/resources/audio/speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ async def generate(
model: str = "eleven-labs",
voice: Optional[str] = None,
) -> AudioSpeechResponse:
request = self._client._make_audio_speech_request(
input,
model,
voice
)
request = self._client._make_audio_speech_request(input, model, voice)

return await self.handle_request( # type: ignore
method="post",
Expand All @@ -32,11 +28,7 @@ def generate(
model: str = "eleven-labs",
voice: Optional[str] = None,
) -> AudioSpeechResponse:
request = self._client._make_audio_speech_request(
input,
model,
voice
)
request = self._client._make_audio_speech_request(input, model, voice)

return self.handle_request( # type: ignore
method="post",
Expand Down

0 comments on commit 40cf4ea

Please sign in to comment.