mirror of
https://github.com/ggerganov/whisper.cpp
synced 2026-03-31 20:15:06 +02:00
* Fix indentation of code sample in document comment * Make Whisper::Context#transcribe able to run non-parallel * Add test for Whisper::Context#transcribe with parallel option * Follow signature API change of Context#transcribe * Remove useless variable assignment * Move simple usage up in README * Add need help section in README * Add document on Context#transcribe's parallel option in README * Update date * Fix signature of Context.new * Make Context#subscribe accept n_processors option * Make test follow #transcribe's change * Make RBS follow #transcribe's change * Add document for #transcribe's n_processors option * Rename test directory so that Rake tasks' default setting is used
38 lines
1.2 KiB
Ruby
38 lines
1.2 KiB
Ruby
require_relative "extsources"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "whispercpp"
|
|
s.authors = ["Georgi Gerganov", "Todd A. Fisher"]
|
|
s.version = '1.3.3'
|
|
s.date = '2025-06-03'
|
|
s.description = %q{High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model via Ruby}
|
|
s.email = 'todd.fisher@gmail.com'
|
|
s.extra_rdoc_files = ['LICENSE', 'README.md']
|
|
|
|
s.files = `git ls-files . -z`.split("\x0") +
|
|
EXTSOURCES.collect {|file|
|
|
basename = File.basename(file)
|
|
if s.extra_rdoc_files.include?(basename)
|
|
basename
|
|
else
|
|
file.sub("../..", "ext/sources")
|
|
.sub("../javascript", "ext/sources/bindings/javascript")
|
|
end
|
|
}
|
|
|
|
s.summary = %q{Ruby whisper.cpp bindings}
|
|
s.test_files = s.files.select {|file| file.start_with? "test/"}
|
|
|
|
s.extensions << 'ext/extconf.rb'
|
|
s.required_ruby_version = '>= 3.1.0'
|
|
|
|
#### Documentation and testing.
|
|
s.homepage = 'https://github.com/ggml-org/whisper.cpp'
|
|
s.rdoc_options = ['--main', 'README.md']
|
|
|
|
|
|
s.platform = Gem::Platform::RUBY
|
|
|
|
s.licenses = ['MIT']
|
|
end
|