whisper.cpp 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d83008a506279672a2d585d35f232940c6d81ee6175ea866baa9965684fa4a8
4
- data.tar.gz: 6e79798baa580cbcd6cdfb886f197bb6a7c1533a1b9ad9d6fa1d1b15cd708028
3
+ metadata.gz: 561b7b824c1f631537d681fb1e5a1eafe20546a8468705ecd2ba3989e0062c69
4
+ data.tar.gz: e047a8ab099358095100a55cd30aca398bbe8b8c4c55cfb0713cdf33e87d2e1a
5
5
  SHA512:
6
- metadata.gz: f41063a2b14007e68f7084c5c1e19e513d7ff89648cb6cb2fe3dfdd8982c868d20b45639799b3d57d210a7cd6aabaf7d5cc23d2a03b821f5dffa2a827dadf4a8
7
- data.tar.gz: 5c69521555fde8f6080a437a927af31741978fc66efca0e825f4be058739ebd988e7df218b7cd485773ff99466c57361e256e684a912042e959191764845f342
6
+ metadata.gz: 80c60958d31df322ac570c97ca6d758278f8711d9bfff371be34e8159ffcadc2facf149aa4c7b55de49a2d2d8812b570d0ddd68e543172301f930fe494a4243b
7
+ data.tar.gz: 02fd686ff1857adf234c53fa0719035e797a82bed4b165e54004c0b7c903728eb7d8c44273b3f46e6ff21a32df44e29986092b72ccfd853324749e639fa303ed
data/lib/whisper/model.rb CHANGED
@@ -75,6 +75,9 @@ module Whisper
75
75
  strategy = params.fetch(:sampling_strategy, Whisper::WHISPER_SAMPLING_GREEDY)
76
76
  full_params = Whisper.whisper_full_default_params(strategy)
77
77
 
78
+ # Set translate to false to prevent translation to English
79
+ full_params[:translate] = false
80
+
78
81
  # Set user-provided full params
79
82
  user_full_params = params.fetch(:full_params, {})
80
83
  user_full_params.each do |key, value|
@@ -1,5 +1,5 @@
1
1
  module Whisper
2
2
 
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whisper.cpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Braulio Oliveira