Skip to content

Commit 3677ff4

Browse files
authored
Merge pull request #426 from nfedyashev/patch-1
Update README.md - mention "language" attribute explicitely in #transcribe
2 parents 19680fe + 6a95ada commit 3677ff4

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
@@ -796,6 +796,7 @@ response = client.audio.transcribe(
796796
parameters: {
797797
model: "whisper-1",
798798
file: File.open("path_to_file", "rb"),
799+
language: "en"
799800
})
800801
puts response["text"]
801802
# => "Transcription of the text"

0 commit comments

Comments
 (0)