Update whispercpp.pyx

This commit is contained in:
Luke Southam 2022-12-16 00:23:50 +00:00 committed by GitHub
parent 1e49c6627d
commit b4529314f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ def download_model(model):
print(f'Downloading {model}...')
url = MODELS[model.decode()]
r = requests.get(url, allow_redirects=True)
with open(MODELS_DIR / model, 'wb') as f:
with open(MODELS_DIR + "/" + model, 'wb') as f:
f.write(r.content)