runtime error
Exit code: 1. Reason: aceEmbeddings with new imports of: >> from langchain_community.embeddings import HuggingFaceEmbeddings You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.embeddings import HuggingFaceEmbeddings /home/user/app/app.py:7: LangChainDeprecationWarning: Importing FAISS from langchain.vectorstores is deprecated. Please replace deprecated imports: >> from langchain.vectorstores import FAISS with new imports of: >> from langchain_community.vectorstores import FAISS You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.vectorstores import FAISS /usr/local/lib/python3.10/site-packages/langchain/llms/__init__.py:549: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead: `from langchain_community.llms import HuggingFaceHub`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( /usr/local/lib/python3.10/site-packages/langchain/llms/__init__.py:549: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead: `from langchain_community.llms import HuggingFaceHub`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> os.environ["HUGGINGFACEHUB_API_TOKEN"] = os.getenv("HF_API_TOKEN") File "/usr/local/lib/python3.10/os.py", line 685, in __setitem__ value = self.encodevalue(value) File "/usr/local/lib/python3.10/os.py", line 757, in encode raise TypeError("str expected, not %s" % type(value).__name__) TypeError: str expected, not NoneType
Container logs:
Fetching error logs...