Skip to content

Commit

Permalink
Use unquantized vocoder by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Oct 3, 2023
1 parent 72473da commit 2d7f9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ export class TextToAudioPipeline extends Pipeline {
// Load vocoder, if not provided
if (!this.vocoder) {
console.log('No vocoder specified, using default HifiGan vocoder.');
this.vocoder = await AutoModel.from_pretrained(this.DEFAULT_VOCODER_ID);
this.vocoder = await AutoModel.from_pretrained(this.DEFAULT_VOCODER_ID, { quantized: false });
}

// Load speaker embeddings as Float32Array from path/URL
Expand Down

0 comments on commit 2d7f9b3

Please sign in to comment.