We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 703d943 commit c007f0aCopy full SHA for c007f0a
1 file changed
bindings/ruby/lib/whisper/model/uri.rb
@@ -94,7 +94,8 @@ def download(response)
94
end
95
96
def show_progress(current, size)
97
- progress_rate_available = size && $stderr.tty? && $stderr.winsize[1] >= line.size
+ line_size = 47
98
+ progress_rate_available = size && $stderr.tty? && $stderr.winsize[1] >= line_size
99
100
unless @prev
101
@prev = Time.now
0 commit comments