From: Wilson Silva Date: Wed, 13 Nov 2024 19:47:42 +0000 (+0000) Subject: ruby : fix the instructions (#2548) X-Git-Tag: upstream/1.7.4~276 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a28d82e373707bcb767c6581b763901d6ccff111;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ruby : fix the instructions (#2548) #prompt doesn't exist but #initial_prompt does --- diff --git a/bindings/ruby/README.md b/bindings/ruby/README.md index 928fe662..a63e8333 100644 --- a/bindings/ruby/README.md +++ b/bindings/ruby/README.md @@ -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