We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897f995 commit a7817dbCopy full SHA for a7817db
README.md
@@ -181,7 +181,7 @@ Transcribes audio into the input language.
181
```php
182
$response = $client->audio()->transcribe([
183
'model' => 'whisper-1',
184
- 'file' => fopen(storage_path('audio.mp3'), 'r'),
+ 'file' => fopen('audio.mp3', 'r'),
185
'response_format' => 'verbose_json',
186
]);
187
@@ -214,7 +214,7 @@ Translates audio into English.
214
215
$response = $client->audio()->translate([
216
217
+ 'file' => fopen('german.mp3' 'r'),
218
219
220
0 commit comments