Spaces:
Running
Running
Update app.js
Browse files
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: '
|
| 130 |
-
embed_tokens: '
|
| 131 |
-
decoder_model_merged: '
|
| 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) => {
|