|
338 | 338 |
|
339 | 339 | function loadWhisper(model) {
|
340 | 340 | let urls = {
|
341 |
| - 'tiny.en': 'https://whisper.ggerganov.com/ggml-model-whisper-tiny.en.bin', |
342 |
| - 'tiny': 'https://whisper.ggerganov.com/ggml-model-whisper-tiny.bin', |
343 |
| - 'base.en': 'https://whisper.ggerganov.com/ggml-model-whisper-base.en.bin', |
344 |
| - 'base': 'https://whisper.ggerganov.com/ggml-model-whisper-base.bin', |
345 |
| - 'small.en': 'https://whisper.ggerganov.com/ggml-model-whisper-small.en.bin', |
346 |
| - 'small': 'https://whisper.ggerganov.com/ggml-model-whisper-small.bin', |
347 |
| - |
348 |
| - 'tiny-en-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-tiny.en-q5_1.bin', |
349 |
| - 'tiny-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-tiny-q5_1.bin', |
350 |
| - 'base-en-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-base.en-q5_1.bin', |
351 |
| - 'base-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-base-q5_1.bin', |
352 |
| - 'small-en-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-small.en-q5_1.bin', |
353 |
| - 'small-q5_1': 'https://whisper.ggerganov.com/ggml-model-whisper-small-q5_1.bin', |
354 |
| - 'medium-en-q5_0':'https://whisper.ggerganov.com/ggml-model-whisper-medium.en-q5_0.bin', |
355 |
| - 'medium-q5_0': 'https://whisper.ggerganov.com/ggml-model-whisper-medium-q5_0.bin', |
356 |
| - 'large-q5_0': 'https://whisper.ggerganov.com/ggml-model-whisper-large-q5_0.bin', |
| 341 | + 'tiny.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en.bin', |
| 342 | + 'tiny': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin', |
| 343 | + 'base.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin', |
| 344 | + 'base': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin', |
| 345 | + 'small.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en.bin', |
| 346 | + 'small': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin', |
| 347 | + |
| 348 | + 'tiny-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin', |
| 349 | + 'tiny-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny-q5_1.bin', |
| 350 | + 'base-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en-q5_1.bin', |
| 351 | + 'base-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base-q5_1.bin', |
| 352 | + 'small-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en-q5_1.bin', |
| 353 | + 'small-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small-q5_1.bin', |
| 354 | + 'medium-en-q5_0':'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium.en-q5_0.bin', |
| 355 | + 'medium-q5_0': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium-q5_0.bin', |
| 356 | + 'large-q5_0': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-q5_0.bin', |
357 | 357 | };
|
358 | 358 |
|
359 | 359 | let sizes = {
|
|
0 commit comments