Update whispercpp.pyx
This commit is contained in:
parent
e39c1649a8
commit
4f1f2d1c0a
|
@ -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.decode(), 'wb') as f:
|
||||
f.write(r.content)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user