runtime error
Exit code: 1. Reason: handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app response = await f(request) File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app raw_response = await run_endpoint_function( File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function return await dependant.call(**values) File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 1700, in startup_events await app.get_blocks().run_extra_startup_events() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 3108, in run_extra_startup_events await startup_event() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 507, in _start_caching await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 573, in cache prediction = await self.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2216, in process_api inputs = await self.preprocess_data( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1862, in preprocess_data inputs_cached = await processing_utils.async_move_files_to_cache( File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 652, in async_move_files_to_cache return await client_utils.async_traverse( File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 1164, in async_traverse return await func(json_obj) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 623, in _move_to_cache _check_allowed(payload.path, check_in_upload_folder) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 568, in _check_allowed raise InvalidPathError(msg) gradio.exceptions.InvalidPathError: Cannot move /home/user/app/grizzly.jpg to the gradio cache dir because it was not uploaded by a user.
Container logs:
Fetching error logs...