Skip to content

Commit c6d944a

Browse files
KitaitiMakotoadutilleul
authored andcommitted
ruby : add more APIs (ggml-org#2518)
* Add test for built package existence * Add more tests for Whisper::Params * Add more Whisper::Params attributes * Add tests for callbacks * Add progress and abort callback features * [skip ci] Add prompt usage in README * Change prompt text in example
1 parent 7011725 commit c6d944a

File tree

6 files changed

+451
-3
lines changed

6 files changed

+451
-3
lines changed

bindings/ruby/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ params.duration = 60_000
3131
params.max_text_tokens = 300
3232
params.translate = true
3333
params.print_timestamps = false
34+
params.prompt = "Initial prompt here."
3435

3536
whisper.transcribe("path/to/audio.wav", params) do |whole_text|
3637
puts whole_text

0 commit comments

Comments
 (0)