From a18d6b1c054cdeb440dbf3530d44520d6380a006 Mon Sep 17 00:00:00 2001 From: Luke Southam Date: Sat, 8 Jul 2023 13:42:58 +0100 Subject: [PATCH] Update whispercpp.pyx Fixed ggml model urls --- whispercpp.pyx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/whispercpp.pyx b/whispercpp.pyx index 44d0d85..f780dcc 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -20,11 +20,11 @@ cdef char* LANGUAGE = b'en' cdef int N_THREADS = os.cpu_count() MODELS = { - 'ggml-tiny.bin': 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin', - 'ggml-base.bin': 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-base.bin', - 'ggml-small.bin': 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-small.bin', - 'ggml-medium.bin': 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-medium.bin', - 'ggml-large.bin': 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-large.bin', + 'ggml-tiny.bin': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin', + 'ggml-base.bin': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin', + 'ggml-small.bin': 'hhttps://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin', + 'ggml-medium.bin': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium.bin', + 'ggml-large.bin': 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large.bin', } def model_exists(model):