Skip to content

Commit e95af8c

Browse files
authored
Update Audio.php
1 parent 3f2f455 commit e95af8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Audio.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function speech(array $data, array $options)
4242
if (!$stream) {
4343
unset($requestOptions['progress']);
4444
}
45-
$http = new Client();
45+
$http = new Client(['timeout' => 300]);
4646
$http->request("$this->api/v1/audio/speech", $requestOptions);
4747
}
4848

@@ -69,4 +69,4 @@ public static function formatResponse($buffer)
6969
return $buffer;
7070
}
7171

72-
}
72+
}

0 commit comments

Comments
 (0)