mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
ruby : fix the instructions (#2548)
#prompt doesn't exist but #initial_prompt does
This commit is contained in:
parent
5ccca19f0c
commit
a28d82e373
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user