ruby : add more APIs (#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
This commit is contained in:
KITAITI Makoto
2024-10-29 02:23:23 +09:00
committed by GitHub
parent fc49ee4479
commit d4bc413505
6 changed files with 451 additions and 3 deletions

View File

@ -18,6 +18,8 @@ typedef struct {
struct whisper_full_params params;
bool diarize;
ruby_whisper_callback_container *new_segment_callback_container;
ruby_whisper_callback_container *progress_callback_container;
ruby_whisper_callback_container *abort_callback_container;
} ruby_whisper_params;
#endif