runtime error
Exit code: 1. Reason: await app.get_blocks().run_extra_startup_events() File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 3707, in run_extra_startup_events await startup_event() File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 513, in _start_caching await self.cache() File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 560, in cache processed_input = self._get_processed_example(example) File "/usr/local/lib/python3.13/site-packages/gradio/helpers.py", line 347, in _get_processed_example prediction_value = processing_utils.move_files_to_cache( prediction_value, component, postprocess=True, ) File "/usr/local/lib/python3.13/site-packages/gradio/processing_utils.py", line 502, in move_files_to_cache return client_utils.traverse( ~~~~~~~~~~~~~~~~~~~~~^ data, _move_to_cache, client_utils.is_file_obj_with_meta ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/gradio_client/utils.py", line 1189, in traverse return func(json_obj) File "/usr/local/lib/python3.13/site-packages/gradio/processing_utils.py", line 473, in _move_to_cache _check_allowed(payload.path, check_in_upload_folder) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/processing_utils.py", line 539, in _check_allowed raise InvalidPathError(msg) gradio.exceptions.InvalidPathError: Cannot move /usr/local/lib/python3.13/site-packages/gradio/media_assets/images/lion.jpg to the gradio cache dir because it was not created by the application or it is not located in either the current working directory or your system's temp directory. To fix this error, please ensure your function returns files located in either the current working directory (/app), your system's temp directory (/tmp) or add /usr/local/lib/python3.13/site-packages/gradio/media_assets/images to the allowed_paths parameter of launch().
Container logs:
Fetching error logs...