runtime error
Exit code: 1. Reason: /usr/local/lib/python3.10/site-packages/langchain/vectorstores/__init__.py:35: LangChainDeprecationWarning: Importing vector stores 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.vectorstores import FAISS`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( /usr/local/lib/python3.10/site-packages/langchain/llms/__init__.py:548: 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 OpenAI`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY") # set trong HF Spaces secrets 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...