runtime error
1 Client Error: Unauthorized for url: https://huggingface.co/api/models/meta-llama/Llama-2-70b-chat-hf The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 22, in <module> llm = HuggingFaceHub(repo_id=llama2_repo_id, #for Llama2 File "/home/user/.local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 97, in __init__ super().__init__(**kwargs) 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.10/site-packages/langchain_community/llms/huggingface_hub.py", line 56, in validate_environment client = InferenceApi( File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 128, in inner_f return f(*args, **kwargs) File "/home/user/.local/lib/python3.10/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.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1922, in model_info hf_raise_for_status(r) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 286, in hf_raise_for_status raise GatedRepoError(message, response) from e huggingface_hub.utils._errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-65781732-3384b487516334c54c870b43;e8c69a8e-5c2d-4a39-be30-42a911b2b953) Cannot access gated repo for url https://huggingface.co/api/models/meta-llama/Llama-2-70b-chat-hf. Repo model meta-llama/Llama-2-70b-chat-hf is gated. You must be authenticated to access it.
Container logs:
Fetching error logs...