Update whispercpp.pyx
This commit is contained in:
parent
1e49c6627d
commit
b4529314f6
|
@ -38,7 +38,7 @@ def download_model(model):
|
||||||
print(f'Downloading {model}...')
|
print(f'Downloading {model}...')
|
||||||
url = MODELS[model.decode()]
|
url = MODELS[model.decode()]
|
||||||
r = requests.get(url, allow_redirects=True)
|
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)
|
f.write(r.content)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user