runtime error

Exit code: 1. Reason: ", line 111, in wrapper async for x in fn(*args, **kwargs): # noqa: B007 generated_values.append(x) File "/usr/local/lib/python3.13/site-packages/gradio/chat_interface.py", line 1090, in _examples_stream_fn async for response in generator: yield self._process_example(message, response) File "/usr/local/lib/python3.13/site-packages/gradio/utils.py", line 867, in __anext__ return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ run_sync_iterator_async, self.iterator, limiter=self.limiter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/anyio/to_thread.py", line 63, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run result = context.run(func, *args) File "/usr/local/lib/python3.13/site-packages/gradio/utils.py", line 850, in run_sync_iterator_async return next(iterator) File "/usr/local/lib/python3.13/site-packages/gradio/external_utils.py", line 153, in chat_fn handle_hf_error(e) ~~~~~~~~~~~~~~~^^^ File "/usr/local/lib/python3.13/site-packages/gradio/external_utils.py", line 335, in handle_hf_error raise Error(str(e) or f"An error occurred: {type(e).__name__}") from e gradio.exceptions.Error: "Server error '504 Gateway Time-out' for url 'https://router.huggingface.co/v1/chat/completions' (Amz CF ID: zS9pyhyPvz-tlMTN4VXIcA054p4oV0r-luduTRD4rvBciDUM8CRqYw==)\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504"

Container logs:

Fetching error logs...