Skip to content

Commit 6a95ada

Browse files
authored
Update README.md - mention "language" attribute explicitely in #transcribe
1 parent 7666e30 commit 6a95ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ response = client.audio.transcribe(
778778
parameters: {
779779
model: "whisper-1",
780780
file: File.open("path_to_file", "rb"),
781+
language: "en"
781782
})
782783
puts response["text"]
783784
# => "Transcription of the text"

0 commit comments

Comments
 (0)