runtime error
Exit code: 1. Reason: None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. /home/user/app/app.py:50: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 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 HuggingFaceEmbeddings``. embedding_model = HuggingFaceEmbeddings(model_name="thenlper/gte-small") Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain_community/embeddings/huggingface.py", line 84, in __init__ import sentence_transformers ModuleNotFoundError: No module named 'sentence_transformers' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 50, in <module> embedding_model = HuggingFaceEmbeddings(model_name="thenlper/gte-small") 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_community/embeddings/huggingface.py", line 87, 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...