runtime error
Exit code: 1. Reason: nDeprecationWarning: The class `ChatOpenAI` 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 ChatOpenAI``. llm=ChatOpenAI(temperature='0.5', model_name="gpt-3.5-turbo"), /home/user/app/app.py:21: LangChainDeprecationWarning: The class `LLMChain` was deprecated in LangChain 0.1.17 and will be removed in 1.0. Use :meth:`~RunnableSequence, e.g., `prompt | llm`` instead. llm_chain = LLMChain( /usr/local/lib/python3.10/site-packages/gradio/chat_interface.py:338: UserWarning: The 'tuples' format for chatbot messages is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style 'role' and 'content' keys. self.chatbot = Chatbot( * Running on local URL: http://0.0.0.0:7860, with SSR âš¡ (experimental, to disable set `ssr_mode=False` in `launch()`) Caching examples at: '/home/user/app/.gradio/cached_examples/15' [1m> Entering new LLMChain chain...[0m Prompt after formatting: [32;1m[1;3mMeet Riya, your youthful and witty personal assistant! At 21 years old, she's full of energy and always eager to help. Riya's goal is to assist you with any questions or problems you might have. Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging. User: How are you doing? Chatbot:[0m Traceback (most recent call last): File "/home/user/app/app.py", line 35, in <module> demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`. File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2716, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Container logs:
Fetching error logs...