ruby : fix the instructions (#2548)

#prompt doesn't exist but #initial_prompt does
This commit is contained in:
Wilson Silva 2024-11-13 19:47:42 +00:00 committed by GitHub
parent 5ccca19f0c
commit a28d82e373
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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