runtime error
| 0.00/438M [00:00<?, ?B/s][A pytorch_model.bin: 2%|▏ | 10.5M/438M [00:01<00:59, 7.16MB/s][A pytorch_model.bin: 100%|█████████▉| 438M/438M [00:01<00:00, 262MB/s] sentence_bert_config.json: 0%| | 0.00/53.0 [00:00<?, ?B/s][A sentence_bert_config.json: 100%|██████████| 53.0/53.0 [00:00<00:00, 288kB/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, 756kB/s] tokenizer.json: 0%| | 0.00/466k [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 466k/466k [00:00<00:00, 82.4MB/s] tokenizer_config.json: 0%| | 0.00/399 [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 399/399 [00:00<00:00, 1.97MB/s] vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s][A vocab.txt: 100%|██████████| 232k/232k [00:00<00:00, 74.8MB/s] modules.json: 0%| | 0.00/229 [00:00<?, ?B/s][A modules.json: 100%|██████████| 229/229 [00:00<00:00, 1.69MB/s] /home/user/.local/lib/python3.10/site-packages/langchain/__init__.py:34: UserWarning: Importing HuggingFaceHub from langchain root module is no longer supported. Please use langchain.llms.HuggingFaceHub instead. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 47, in <module> hub_llm = HuggingFaceHub( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 97, in __init__ super().__init__(**kwargs) File "/home/user/.local/lib/python3.10/site-packages/pydantic/v1/main.py", line 341, in __init__ raise validation_error pydantic.v1.error_wrappers.ValidationError: 1 validation error for HuggingFaceHub __root__ 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)
Container logs:
Fetching error logs...