@jambonz/speech-utils 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/synth-audio.js +5 -0
- package/package.json +1 -1
package/lib/synth-audio.js
CHANGED
|
@@ -963,6 +963,11 @@ const synthRimelabs = async(logger, {
|
|
|
963
963
|
params += ',write_cache_file=1';
|
|
964
964
|
if (opts.speedAlpha) params += `,speed_alpha=${opts.speedAlpha}`;
|
|
965
965
|
if (opts.reduceLatency) params += `,reduce_latency=${opts.reduceLatency}`;
|
|
966
|
+
// Arcana model parameters
|
|
967
|
+
if (opts.temperature) params += `,temperature=${opts.temperature}`;
|
|
968
|
+
if (opts.repetition_penalty) params += `,repetition_penalty=${opts.repetition_penalty}`;
|
|
969
|
+
if (opts.top_p) params += `,top_p=${opts.top_p}`;
|
|
970
|
+
if (opts.max_tokens) params += `,max_tokens=${opts.max_tokens}`;
|
|
966
971
|
params += '}';
|
|
967
972
|
|
|
968
973
|
return {
|