Skip to content

Commit

Permalink
ruby : fix the instructions (ggerganov#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 and adutilleul committed Nov 16, 2024
1 parent 986c35c commit edc5ae8
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 edc5ae8

Please sign in to comment.