Skip to content

Commit

Permalink
ruby : fix the instructions (#2548)
Browse files Browse the repository at this point in the history
#prompt doesn't exist but #initial_prompt does
  • Loading branch information
wilsonsilva authored Nov 13, 2024
1 parent 5ccca19 commit a28d82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ params.duration = 60_000
params.max_text_tokens = 300
params.translate = true
params.print_timestamps = false
params.prompt = "Initial prompt here."
params.initial_prompt = "Initial prompt here."

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

0 comments on commit a28d82e

Please sign in to comment.