We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497441f commit 342853dCopy full SHA for 342853d
src/pipelines/text-to-audio.js
@@ -27,7 +27,7 @@ import { AutoModel } from '../models.js';
27
*
28
* @callback TextToAudioPipelineCallback Generates speech/audio from the inputs.
29
* @param {string|string[]} texts The text(s) to generate.
30
- * @param {TextToAudioPipelineOptions} options Parameters passed to the model generation/forward method.
+ * @param {TextToAudioPipelineOptions} [options] Parameters passed to the model generation/forward method.
31
* @returns {Promise<TextToAudioOutput>} An object containing the generated audio and sampling rate.
32
33
* @typedef {TextToAudioPipelineConstructorArgs & TextToAudioPipelineCallback & Disposable} TextToAudioPipelineType
0 commit comments