🚩 Report: Not working

#2
by Gertie01 - opened

hf_raise_for_status(response)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 333, in hf_raise_for_status
raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/facebook/audiogen-medium/resolve/main/compression_state_dict.bin

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

Traceback (most recent call last):
File "/home/user/app/app.py", line 6, in
model = AudioGen.get_pretrained('facebook/audiogen-medium')
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/audiocraft/models/audiogen.py", line 57, in get_pretrained
compression_model = load_compression_model(name, device=device)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/audiocraft/models/loaders.py", line 75, in load_compression_model
pkg = load_compression_model_ckpt(file_or_url_or_id, cache_dir=cache_dir)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/audiocraft/models/loaders.py", line 71, in load_compression_model_ckpt
return _get_state_dict(file_or_url_or_id, filename="compression_state_dict.bin", cache_dir=cache_dir)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/audiocraft/models/loaders.py", line 64, in _get_state_dict
file = hf_hub_download(
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1371, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

Do you respond?

I would also like to know if this error will be resolved. Thanks!

Sign up or log in to comment