Update whispercpp.pyx

This commit is contained in:
Luke Southam 2022-12-25 06:53:20 +00:00 committed by GitHub
parent aa51bbd3e1
commit 275783f323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):