mirror of
https://github.com/taigrr/elevenlabs.git
synced 2026-04-02 03:08:57 -07:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b925ef1471 |
@@ -83,7 +83,7 @@ func (c Client) TTS(ctx context.Context, text, voiceID, modelID string, options
|
||||
b := bytes.Buffer{}
|
||||
|
||||
defer res.Body.Close()
|
||||
io.Copy(w, res.Body)
|
||||
io.Copy(&b, res.Body)
|
||||
return b.Bytes(), nil
|
||||
case 422:
|
||||
fallthrough
|
||||
|
||||
Reference in New Issue
Block a user