Sorry, we can't find the page you are looking for

#1
by BorisFaj - opened

Hi!

In first place congratulations for your job and thanks for sharing!

I'm pretty newbie at hugging face framework, I guess there is a workaround, but I'm trying to follow the docs and I get an error:

Traceback (most recent call last):
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 259, in hf_raise_for_status
    response.raise_for_status()
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/guillaumekln/faster-whisper-tiny/revision/main

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/blabla/PycharmProjects/poc-whisper/main.py", line 17, in <module>
    model = WhisperModel("tiny")
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 114, in __init__
    model_path = download_model(
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/faster_whisper/utils.py", line 81, in download_model
    return huggingface_hub.snapshot_download(
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 186, in snapshot_download
    repo_info = _api.repo_info(
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1794, in repo_info
    return method(
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1604, in model_info
    hf_raise_for_status(r)
  File "/blabla/PycharmProjects/poc-whisper/venv/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 301, in hf_raise_for_status
    raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/guillaumekln/faster-whisper-tiny/revision/main (Request ID: Root=1-645a3dd0-5a4c586368c34dd86f3530e6)

Sorry, we can't find the page you are looking for.

Process finished with exit code 1

I just run the code as it is at model card:

from faster_whisper import WhisperModel

test_wav = "/blabla/PycharmProjects/poc-whisper/tests/data/stereo_diarization.wav"

model = WhisperModel("tiny")

segments, info = model.transcribe(test_wav)
for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))

There are some issues with the Hugging Face Hub at this time: https://status.huggingface.co/

You should retry the download later.

you were right, now it is working perfectly fine.

Thank you!! :D

BorisFaj changed discussion status to closed

Sign up or log in to comment