runtime error
Exit code: 1. Reason: al/lib/python3.13/site-packages/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 2330, 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 2079, 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': 'Python'}, {'role': 'assistant', 'content': ('Type Python or JavaScript to see the code.', <gradio.components.code.Code object at 0x7f9cce51c190>)}] (of type `list`). Original error: ValueError: Invalid message for Chatbot component: ('Type Python or JavaScript to see the code.', <gradio.components.code.Code object at 0x7f9cce51c190>) Traceback (most recent call last): File "/app/run.py", line 44, in <module> demo.launch() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 3132, 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...