diff --git a/bindings/ruby/extsources.rb b/bindings/ruby/extsources.rb
index 18ae348d..b24f1a7f 100644
--- a/bindings/ruby/extsources.rb
+++ b/bindings/ruby/extsources.rb
@@ -27,6 +27,7 @@ ignored_files = %w[
twitch.sh
yt-wsp.sh
close-issue.yml
+ build-xcframework.sh
]
EXTSOURCES =
diff --git a/bindings/ruby/lib/whisper/model/uri.rb b/bindings/ruby/lib/whisper/model/uri.rb
index d8a98699..9cb90855 100644
--- a/bindings/ruby/lib/whisper/model/uri.rb
+++ b/bindings/ruby/lib/whisper/model/uri.rb
@@ -94,7 +94,8 @@ module Whisper
end
def show_progress(current, size)
- progress_rate_available = size && $stderr.tty? && $stderr.winsize[1] >= line.size
+ line_size = 47
+ progress_rate_available = size && $stderr.tty? && $stderr.winsize[1] >= line_size
unless @prev
@prev = Time.now
diff --git a/bindings/ruby/test/test_segment.rb b/bindings/ruby/test/test_segment.rb
index cb4ba9eb..08a037c0 100644
--- a/bindings/ruby/test/test_segment.rb
+++ b/bindings/ruby/test/test_segment.rb
@@ -73,7 +73,6 @@ class TestSegment < TestBase
end
def test_transcription_after_segment_retrieved
- params = Whisper::Params.new
segment = whisper.each_segment.first
assert_match(/ask not what your country can do for you, ask what you can do for your country/, segment.text)
diff --git a/bindings/ruby/whispercpp.gemspec b/bindings/ruby/whispercpp.gemspec
index eac35b8a..2e05769a 100644
--- a/bindings/ruby/whispercpp.gemspec
+++ b/bindings/ruby/whispercpp.gemspec
@@ -3,7 +3,7 @@ require_relative "extsources"
Gem::Specification.new do |s|
s.name = "whispercpp"
s.authors = ["Georgi Gerganov", "Todd A. Fisher"]
- s.version = '1.3.4'
+ s.version = '1.3.5'
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']
diff --git a/examples/whisper.wasm/index-tmpl.html b/examples/whisper.wasm/index-tmpl.html
index 0a7e40e3..91108e35 100644
--- a/examples/whisper.wasm/index-tmpl.html
+++ b/examples/whisper.wasm/index-tmpl.html
@@ -144,7 +144,7 @@
-
+