runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain/embeddings/huggingface.py", line 58, in __init__ import sentence_transformers File "/usr/local/lib/python3.10/site-packages/sentence_transformers/__init__.py", line 3, in <module> from .datasets import SentencesDataset, ParallelSentencesDataset File "/usr/local/lib/python3.10/site-packages/sentence_transformers/datasets/__init__.py", line 3, in <module> from .ParallelSentencesDataset import ParallelSentencesDataset File "/usr/local/lib/python3.10/site-packages/sentence_transformers/datasets/ParallelSentencesDataset.py", line 4, in <module> from .. import SentenceTransformer File "/usr/local/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 12, in <module> from huggingface_hub import HfApi, HfFolder, Repository, hf_hub_url, cached_download ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 116, in <module> embeddings_function = HuggingFaceEmbeddings(model_name=EMBEDDING_MODEL_NAME) File "/usr/local/lib/python3.10/site-packages/langchain/embeddings/huggingface.py", line 61, in __init__ raise ImportError( ImportError: Could not import sentence_transformers python package. Please install it with `pip install sentence-transformers`.
Container logs:
Fetching error logs...