Hi been using Gustavosta/MagicPrompt-Stable-Diffusion for 2 weeks then today I get this any help would be appreciated

#26
by jb386 - opened

Runtime error
Space not ready. Reason: Error, exitCode: 1, message: None
Container logs:

Traceback (most recent call last):
File "app.py", line 5, in
gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')
File "/home/user/.local/lib/python3.8/site-packages/transformers/pipelines/init.py", line 648, in pipeline
config = AutoConfig.from_pretrained(model, _from_pipeline=task, **hub_kwargs, **model_kwargs)
File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/configuration_auto.py", line 776, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 559, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 614, in _get_config_dict
resolved_config_file = cached_file(
File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 409, in cached_file
resolved_file = hf_hub_download(
File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1136, in hf_hub_download
with open(ref_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cache/huggingface/hub/models--Gustavosta--MagicPrompt-Stable-Diffusion/refs/main'

I'm aware of the error now, I'm working on it, sorry for the inconvenience :/

Problem fixed!. The error was caused due to a version error of the project's dependencies, I will close this issue for now! :)

Gustavosta changed discussion status to closed

Sign up or log in to comment