runtime error

Exit code: 1. Reason: /home/user/app/app.py:4: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead. from langchain import LLMChain, PromptTemplate /home/user/app/app.py:4: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain_core.prompts.PromptTemplate instead. from langchain import LLMChain, PromptTemplate 2025-09-29 06:12:02,239 - ERROR - ❌ API Error: GOOGLE_API_KEY not found in environment variables. To fix this in Hugging Face Spaces: 1. Go to your Space settings 2. Click on 'Repository secrets' 3. Add GOOGLE_API_KEY with your Google API key value 4. Restart the Space 2025-09-29 06:12:02,239 - WARNING - ⚠️ Running in demo mode - API not configured 2025-09-29 06:12:02,401 - ERROR - Failed to launch application: Blocks.launch() got an unexpected keyword argument 'enable_queue' Traceback (most recent call last): File "/home/user/app/app.py", line 233, in <module> demo.launch( TypeError: Blocks.launch() got an unexpected keyword argument 'enable_queue' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 245, in <module> gr.ChatInterface().launch() TypeError: ChatInterface.__init__() missing 1 required positional argument: 'fn'

Container logs:

Fetching error logs...