NuExtract-2.0 Playground App not working (Runtime error)

#1
by AmgadHesham - opened

This happens when trying to run the play ground for NuExtract-2.0
runtime error
Exit code: 1. Reason: le_download.py", line 1648, in _raise_on_head_call_error
raise LocalEntryNotFoundError(
huggingface_hub.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.

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

Traceback (most recent call last):
File "/home/user/app/app.py", line 7, in
model = AutoModelForVision2Seq.from_pretrained(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 531, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1153, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/configuration_utils.py", line 595, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/configuration_utils.py", line 654, in _get_config_dict
resolved_config_file = cached_file(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/utils/hub.py", line 312, in cached_file
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/transformers/utils/hub.py", line 543, in cached_files
raise OSError(
OSError: We couldn't connect to 'https://huggingface.co' to load the files, and couldn't find them in the cached files.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

NuMind org

Hello. I think this was from a network issue on hugging face's end. I have restarted the space and think it should be fine now.

Sign up or log in to comment