Skip to content

Commit 209e8a4

Browse files
committed
Fix typo
1 parent 6d906ea commit 209e8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ The translations API takes as input the audio file in any of the supported langu
281281
model: "whisper-1",
282282
file: File.open('path_to_file'),
283283
})
284-
puts response.parsed_body['text']
284+
puts response.parsed_response['text']
285285
=> "Translation of the text"
286286
```
287287

@@ -295,7 +295,7 @@ The transcriptions API takes as input the audio file you want to transcribe and
295295
model: "whisper-1",
296296
file: File.open('path_to_file'),
297297
})
298-
puts response.parsed_body['text']
298+
puts response.parsed_response['text']
299299
=> "Transcription of the text"
300300
```
301301

0 commit comments

Comments
 (0)