runtime error

Exit code: 1. Reason: /home/user/app/app.py:3: LangChainDeprecationWarning: Importing PyPDFLoader from langchain.document_loaders is deprecated. Please replace deprecated imports: >> from langchain.document_loaders import PyPDFLoader with new imports of: >> from langchain_community.document_loaders import PyPDFLoader 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.document_loaders import PyPDFLoader /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 OpenAI`. 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 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 5, in <module> from langchain.chains import load_qa_chain ImportError: cannot import name 'load_qa_chain' from 'langchain.chains' (/usr/local/lib/python3.10/site-packages/langchain/chains/__init__.py)

Container logs:

Fetching error logs...