From 670963791661dde40da6f2d4477458ef76d08bf8 Mon Sep 17 00:00:00 2001 From: Luke Southam Date: Sun, 11 Dec 2022 02:11:06 +0000 Subject: [PATCH] update --- whispercpp.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whispercpp.pyx b/whispercpp.pyx index 3ae3d2e..bc456a8 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -82,7 +82,7 @@ cdef class Whisper: cdef whisper_context * ctx cdef whisper_full_params params - def __init__(self, char* model=DEFAULT_MODEL, pb=None): + def __init__(self, model=DEFAULT_MODEL, pb=None): model_fullname = f'model_ggml_{model.decode()}.bin'.encode('utf8') download_model(model_fullname) self.ctx = whisper_init(model_fullname)