Skip to content

Commit a28d82e

Browse files
authored
ruby : fix the instructions (#2548)
#prompt doesn't exist but #initial_prompt does
1 parent 5ccca19 commit a28d82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ruby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ params.duration = 60_000
3131
params.max_text_tokens = 300
3232
params.translate = true
3333
params.print_timestamps = false
34-
params.prompt = "Initial prompt here."
34+
params.initial_prompt = "Initial prompt here."
3535

3636
whisper.transcribe("path/to/audio.wav", params) do |whole_text|
3737
puts whole_text

0 commit comments

Comments
 (0)