runtime error
Exit code: 1. Reason: gchain.embeddings import HuggingFaceEmbeddings /home/user/app/app.py:15: LangChainDeprecationWarning: Importing Chroma from langchain.vectorstores is deprecated. Please replace deprecated imports: >> from langchain.vectorstores import Chroma with new imports of: >> from langchain_community.vectorstores import Chroma You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here https://python.langchain.com/v0.2/docs/versions/v0_2/ from langchain.vectorstores import Chroma Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain_community/embeddings/huggingface.py", line 64, 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 30, in <module> hf_embeddings = HuggingFaceEmbeddings() File "/usr/local/lib/python3.10/site-packages/langchain_community/embeddings/huggingface.py", line 67, 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...