runtime error
Exit code: 1. Reason: te-packages/diffusers/pipelines/pipeline_utils.py", line 1291, in download info = model_info(pretrained_model_name, token=token, revision=revision) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2649, in model_info hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 480, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/stabilityai/sd-turbo (Request ID: Root=1-68e4abc3-6551057a3f3dec540d8eebe2;cb673f3c-775f-46e5-8f18-485c8ca998ed) Invalid credentials in Authorization header The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 98, in <module> model = load_and_prepare_model() File "/home/user/app/app.py", line 95, in load_and_prepare_model return _try_load_fallback() File "/home/user/app/app.py", line 62, in _try_load_fallback pipe = StableDiffusionPipeline.from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 699, in from_pretrained cached_folder = cls.download( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1536, in download raise EnvironmentError( OSError: Cannot load model stabilityai/sd-turbo: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.
Container logs:
Fetching error logs...