Spaces:
Running
Running
wasm : change ggml model host to HF (#3369)
Browse files
examples/bench.wasm/index-tmpl.html
CHANGED
|
@@ -191,15 +191,15 @@
|
|
| 191 |
|
| 192 |
function loadWhisper(model) {
|
| 193 |
let urls = {
|
| 194 |
-
'tiny.en': 'https://
|
| 195 |
-
'base.en': 'https://
|
| 196 |
-
'small.en': 'https://
|
| 197 |
-
|
| 198 |
-
'tiny-en-q5_1': 'https://
|
| 199 |
-
'base-en-q5_1': 'https://
|
| 200 |
-
'small-en-q5_1': 'https://
|
| 201 |
-
'medium-en-q5_0':'https://
|
| 202 |
-
'large-q5_0': 'https://
|
| 203 |
};
|
| 204 |
|
| 205 |
let sizes = {
|
|
|
|
| 191 |
|
| 192 |
function loadWhisper(model) {
|
| 193 |
let urls = {
|
| 194 |
+
'tiny.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en.bin',
|
| 195 |
+
'base.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin',
|
| 196 |
+
'small.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en.bin',
|
| 197 |
+
|
| 198 |
+
'tiny-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin',
|
| 199 |
+
'base-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en-q5_1.bin',
|
| 200 |
+
'small-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en-q5_1.bin',
|
| 201 |
+
'medium-en-q5_0':'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium.en-q5_0.bin',
|
| 202 |
+
'large-q5_0': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-q5_0.bin',
|
| 203 |
};
|
| 204 |
|
| 205 |
let sizes = {
|
examples/command.wasm/index-tmpl.html
CHANGED
|
@@ -174,11 +174,11 @@
|
|
| 174 |
|
| 175 |
function loadWhisper(model) {
|
| 176 |
let urls = {
|
| 177 |
-
'tiny.en': 'https://
|
| 178 |
-
'base.en': 'https://
|
| 179 |
|
| 180 |
-
'tiny-en-q5_1': 'https://
|
| 181 |
-
'base-en-q5_1': 'https://
|
| 182 |
};
|
| 183 |
|
| 184 |
let sizes = {
|
|
|
|
| 174 |
|
| 175 |
function loadWhisper(model) {
|
| 176 |
let urls = {
|
| 177 |
+
'tiny.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en.bin',
|
| 178 |
+
'base.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin',
|
| 179 |
|
| 180 |
+
'tiny-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin',
|
| 181 |
+
'base-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en-q5_1.bin',
|
| 182 |
};
|
| 183 |
|
| 184 |
let sizes = {
|
examples/stream.wasm/index-tmpl.html
CHANGED
|
@@ -246,12 +246,12 @@
|
|
| 246 |
|
| 247 |
function loadWhisper(model) {
|
| 248 |
let urls = {
|
| 249 |
-
'tiny.en': 'https://
|
| 250 |
-
'base.en': 'https://
|
| 251 |
-
'base' : 'https://
|
| 252 |
|
| 253 |
-
'tiny-en-q5_1': 'https://
|
| 254 |
-
'base-en-q5_1': 'https://
|
| 255 |
};
|
| 256 |
|
| 257 |
let sizes = {
|
|
|
|
| 246 |
|
| 247 |
function loadWhisper(model) {
|
| 248 |
let urls = {
|
| 249 |
+
'tiny.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en.bin',
|
| 250 |
+
'base.en': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin',
|
| 251 |
+
'base' : 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin',
|
| 252 |
|
| 253 |
+
'tiny-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin',
|
| 254 |
+
'base-en-q5_1': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en-q5_1.bin',
|
| 255 |
};
|
| 256 |
|
| 257 |
let sizes = {
|
examples/whisper.wasm/index-tmpl.html
CHANGED
|
@@ -338,22 +338,22 @@
|
|
| 338 |
|
| 339 |
function loadWhisper(model) {
|
| 340 |
let urls = {
|
| 341 |
-
'tiny.en': 'https://
|
| 342 |
-
'tiny': 'https://
|
| 343 |
-
'base.en': 'https://
|
| 344 |
-
'base': 'https://
|
| 345 |
-
'small.en': 'https://
|
| 346 |
-
'small': 'https://
|
| 347 |
-
|
| 348 |
-
'tiny-en-q5_1': 'https://
|
| 349 |
-
'tiny-q5_1': 'https://
|
| 350 |
-
'base-en-q5_1': 'https://
|
| 351 |
-
'base-q5_1': 'https://
|
| 352 |
-
'small-en-q5_1': 'https://
|
| 353 |
-
'small-q5_1': 'https://
|
| 354 |
-
'medium-en-q5_0':'https://
|
| 355 |
-
'medium-q5_0': 'https://
|
| 356 |
-
'large-q5_0': 'https://
|
| 357 |
};
|
| 358 |
|
| 359 |
let sizes = {
|
|
|
|
| 338 |
|
| 339 |
function loadWhisper(model) {
|
| 340 |
let urls = {
|
| 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 |
};
|
| 358 |
|
| 359 |
let sizes = {
|