runtime error
Exit code: 1. Reason: response.raise_for_status() File "/home/user/.local/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/gpt2 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "app.py", line 17, in <module> llm = HuggingFaceHub(repo_id=repo_id, model_kwargs={"temperature": 0, "max_length": 64}) File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__ File "pydantic/main.py", line 1102, in pydantic.main.validate_model File "/home/user/.local/lib/python3.8/site-packages/langchain/llms/huggingface_hub.py", line 56, in validate_environment client = InferenceApi( File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/inference_api.py", line 131, in __init__ model_info = HfApi(token=token).model_info(repo_id=repo_id) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1678, in model_info hf_raise_for_status(r) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 293, in hf_raise_for_status raise RepositoryNotFoundError(message, response) from e huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-684e3892-7278ba1d33ec11e86e117e92;f15c35a1-5236-4862-b8f4-a20736f0990f) Repository Not Found for url: https://huggingface.co/api/models/gpt2. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid credentials in Authorization header
Container logs:
Fetching error logs...