Skip to content

Commit

Permalink
🐛 fix whisper model download url
Browse files Browse the repository at this point in the history
  • Loading branch information
anuejn committed Jul 20, 2023
1 parent 71c4f72 commit 6e05aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/transcribee_worker/whisper_transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_model_file(model_name: str):

if not model_file.exists():
logging.info(f"downloading model {model_name} because it does not exist yet...")
base_url = "https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main"
base_url = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main"
url = f"{base_url}/ggml-{model_name}.bin"
r = requests.get(url, allow_redirects=True)
r.raise_for_status()
Expand Down

0 comments on commit 6e05aad

Please sign in to comment.