runtime error
Exit code: 1. Reason: e await self.cache() File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/helpers.py", line 338, in cache prediction = await Context.root_block.process_api( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/blocks.py", line 1554, in process_api result = await self.call_function( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/blocks.py", line 1192, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread return await future File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/utils.py", line 659, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 54, in sahi_yolov5_inference model = AutoDetectionModel.from_pretrained( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/sahi/auto_model.py", line 66, in from_pretrained return DetectionModel( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/sahi/models/base.py", line 67, in __init__ self.load_model() File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/sahi/models/yolov5.py", line 32, in load_model raise TypeError("model_path is not a valid yolov5 model path: ", e) TypeError: ('model_path is not a valid yolov5 model path: ', LocalEntryNotFoundError('An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.'))
Container logs:
Fetching error logs...