runtime error
Exit code: 1. Reason: = processing_utils.move_files_to_cache( prediction_value, component, postprocess=True, ) File "/usr/local/lib/python3.13/site-packages/gradio/processing_utils.py", line 551, 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 514, 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 588, 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(). Traceback (most recent call last): File "/app/run.py", line 43, in <module> demo.launch() ~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 3562, 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...