runtime error
Exit code: 1. Reason: ages/gradio/helpers.py", line 510, in _start_caching await self.cache() File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 560, in cache prediction = await self.root_block.process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2293, in process_api data = await self.postprocess_data( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ block_fn, result["prediction"], state ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2049, in postprocess_data raise ComponentProcessingError( ...<8 lines>... ) from err gradio.exceptions.ComponentProcessingError: Could not postprocess output component at index 0 (a `chatbot` component) of the event handler (named "_examples_fn") with output components: [chatbot]. Expected a `list[MessageDict | Message | ChatMessage | NormalizedMessageDict] | None`, but the value returned from the event handler was: [{'role': 'user', 'content': 'Write an example Python lambda function.'}, {'role': 'assistant', 'content': ChatMessage(content="\nHere's an example Python lambda function:\n\nlambda x: x + 71\n\nIs th... (of type `list`). Original error: ValueError: Invalid message for Chatbot component: ChatMessage(content="\nHere's an example Python lambda function:\n\nlambda x: x + 71\n\nIs this correct?\n", role='assistant', metadata={}, options=[{'value': "Yes, that's correct.", 'label': 'Yes'}, {'value': 'No'}]) File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 3072, 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...