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 +4 -4
- data/lib/whisper/model.rb +3 -0
- data/lib/whisper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 561b7b824c1f631537d681fb1e5a1eafe20546a8468705ecd2ba3989e0062c69
|
4
|
+
data.tar.gz: e047a8ab099358095100a55cd30aca398bbe8b8c4c55cfb0713cdf33e87d2e1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
data/lib/whisper/version.rb
CHANGED