mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-17 10:20:23 +00:00
f19463ece2
* Handle objs in Ruby code * Add task to make Makefile * Share commont constance in test suites * Add model-related APIs * Add Whisper::Model class * Add tests for Whisper::Model * Add missing LDFLAG -lstdc++ * Add tests for Whisper.log_set * Add Whisper.set_log * Define log level * Add document on logging * Add license section to README * Add document on Whisper::Model * Fix examples in README * Add test for Model with GC * Make dependency on Makefile more accurate * Fix bug about Whisper::Model and GC
8 lines
227 B
Ruby
8 lines
227 B
Ruby
require "test/unit"
|
|
require "whisper"
|
|
|
|
class TestBase < Test::Unit::TestCase
|
|
MODEL = File.join(__dir__, "..", "..", "..", "models", "ggml-base.en.bin")
|
|
AUDIO = File.join(__dir__, "..", "..", "..", "samples", "jfk.wav")
|
|
end
|