runtime error
Exit code: 1. Reason: rting 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( /home/user/app/app.py:11: LangChainDeprecationWarning: The class `OpenAI` was deprecated in LangChain 0.0.10 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-openai package and should be used instead. To use it run `pip install -U :class:`~langchain-openai` and import as `from :class:`~langchain_openai import OpenAI``. llm = OpenAI(api_key=os.getenv("OPENAI_API_KEY"), temperature=0) /home/user/app/app.py:12: LangChainDeprecationWarning: Please see the migration guide at: https://python.langchain.com/docs/versions/migrating_memory/ memory = ConversationBufferMemory(memory_key="chat_history") Traceback (most recent call last): File "/home/user/app/app.py", line 13, in <module> tools = [StableDiffusionTool().langchain, ImageCaptioningTool().langchain, File "/usr/local/lib/python3.10/site-packages/gradio_tools/tools/stable_diffusion.py", line 28, in __init__ super().__init__(name, description, src, hf_token, duplicate) File "/usr/local/lib/python3.10/site-packages/gradio_tools/tools/gradio_tool.py", line 36, in __init__ self.client = grc.Client(self.src, hf_token=hf_token) File "/usr/local/lib/python3.10/site-packages/gradio_client/client.py", line 142, in __init__ raise ValueError( ValueError: The current space is in the invalid state: RUNTIME_ERROR. Please contact the owner to fix this.
Container logs:
Fetching error logs...