runtime error
Exit code: 1. Reason: [00:00<?, ?B/s][A vocab.txt: 100%|██████████| 232k/232k [00:00<00:00, 50.9MB/s] tokenizer.json: 0%| | 0.00/466k [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 466k/466k [00:00<00:00, 47.1MB/s] special_tokens_map.json: 0%| | 0.00/112 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 112/112 [00:00<00:00, 834kB/s] config.json: 0%| | 0.00/190 [00:00<?, ?B/s][A config.json: 100%|██████████| 190/190 [00:00<00:00, 1.30MB/s] /home/user/app/app.py:44: LangChainDeprecationWarning: The class `HuggingFaceHub` was deprecated in LangChain 0.0.21 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-huggingface package and should be used instead. To use it run `pip install -U :class:`~langchain-huggingface` and import as `from :class:`~langchain_huggingface import HuggingFaceEndpoint``. llm = HuggingFaceHub( Traceback (most recent call last): File "/home/user/app/app.py", line 44, in <module> llm = HuggingFaceHub( File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 214, in warn_if_direct_instance return wrapped(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 125, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 214, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for HuggingFaceHub Value error, Did not find huggingfacehub_api_token, please add an environment variable `HUGGINGFACEHUB_API_TOKEN` which contains it, or pass `huggingfacehub_api_token` as a named parameter. [type=value_error, input_value={'repo_id': 'HuggingFaceH...acehub_api_token': None}, input_type=dict] For further information visit https://errors.pydantic.dev/2.10/v/value_error
Container logs:
Fetching error logs...