Commit bf0ee288 authored by Marcus Johansson's avatar Marcus Johansson
Browse files

New structure

parent 32b6ab82
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -175,7 +175,8 @@ class ElevenlabsProvider extends AiProviderClientBase implements
    if (empty($response)) {
      throw new AiBadRequestException('No audio found');
    }
    return new TextToSpeechOutput([$response], $response, []);
    $input = new AudioFile($response, 'audio/mpeg', 'elevenlabs.mp3');
    return new TextToSpeechOutput([$input], $response, []);
  }

  /**