gsaon commited on
Commit
2abe16e
·
verified ·
1 Parent(s): ec19a03

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -3
app.js CHANGED
@@ -126,9 +126,9 @@ async function initModels() {
126
  const fileProgress = {};
127
  model = await GraniteSpeechForConditionalGeneration.from_pretrained(MODEL_ID, {
128
  dtype: {
129
- audio_encoder: 'q4',
130
- embed_tokens: 'q4',
131
- decoder_model_merged: 'q4',
132
  },
133
  device: 'webgpu',
134
  progress_callback: (progress) => {
 
126
  const fileProgress = {};
127
  model = await GraniteSpeechForConditionalGeneration.from_pretrained(MODEL_ID, {
128
  dtype: {
129
+ audio_encoder: 'q4f16',
130
+ embed_tokens: 'q4f16',
131
+ decoder_model_merged: 'q4f16',
132
  },
133
  device: 'webgpu',
134
  progress_callback: (progress) => {