mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-19 05:56:43 +02:00
ruby : fix the instructions (#2548)
#prompt doesn't exist but #initial_prompt does
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user