runtime error
Exit code: 1. Reason: le "/usr/local/lib/python3.13/site-packages/langchain_core/language_models/chat_models.py", line 1656, in generate self._generate_with_cache( ~~~~~~~~~~~~~~~~~~~~~~~~~^ m, ^^ ...<2 lines>... **kwargs, ^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/langchain_core/language_models/chat_models.py", line 1994, in _generate_with_cache result = self._generate( messages, stop=stop, run_manager=run_manager, **kwargs ) File "/usr/local/lib/python3.13/site-packages/langchain_huggingface/chat_models/huggingface.py", line 748, in _generate answer = self.llm.client.chat_completion(messages=message_dicts, **params) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 923, in chat_completion request_parameters = provider_helper.prepare_request( inputs=messages, ...<3 lines>... api_key=self.token, ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_providers/_common.py", line 94, in prepare_request api_key = self._prepare_api_key(api_key) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_providers/_common.py", line 149, in _prepare_api_key raise ValueError( f"You must provide an api_key to work with {self.provider} API or log in with `hf auth login`." ) ValueError: You must provide an api_key to work with auto API or log in with `hf auth login`. Traceback (most recent call last): File "/app/app.py", line 77, in <module> demo.launch() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2784, in launch raise Exception( f"Couldn't start the app because '{resp.url}' failed (code {resp.status_code}). Check your network or proxy settings to ensure localhost is accessible." ) 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...