From 275783f323d3b09812afef2e240bc624650dcfa0 Mon Sep 17 00:00:00 2001 From: Luke Southam Date: Sun, 25 Dec 2022 06:53:20 +0000 Subject: [PATCH] Update whispercpp.pyx --- whispercpp.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whispercpp.pyx b/whispercpp.pyx index 32cc04a..d1fc5d7 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -30,7 +30,7 @@ MODELS = { } def model_exists(model): - return os.path.exists(MODELS_DIR + "/" + model) + return os.path.exists(MODELS_DIR + "/" + model.decode()) def download_model(model): if model_exists(model):