runtime error
Exit code: 1. Reason: Forbidden ERROR:__main__:Failed to initialize model: An error occurred (403) when calling the HeadObject operation: Forbidden ERROR:__main__:Failed to create chat interface: An error occurred (403) when calling the HeadObject operation: Forbidden ERROR:__main__:Application failed to start: An error occurred (403) when calling the HeadObject operation: Forbidden Traceback (most recent call last): File "/home/user/app/app_hf.py", line 222, in <module> demo = create_chat_interface() File "/home/user/app/app_hf.py", line 121, in create_chat_interface bot = CustomerSupportBot(model_path=user_model_path) File "/home/user/app/app_hf.py", line 42, in __init__ self.download_and_load_model() File "/home/user/app/app_hf.py", line 56, in download_and_load_model self.s3.download_file(self.bucket_name, self.model_key, str(self.model_file_path)) File "/usr/local/lib/python3.10/site-packages/boto3/s3/inject.py", line 192, in download_file return transfer.download_file( File "/usr/local/lib/python3.10/site-packages/boto3/s3/transfer.py", line 406, in download_file future.result() File "/usr/local/lib/python3.10/site-packages/s3transfer/futures.py", line 103, in result return self._coordinator.result() File "/usr/local/lib/python3.10/site-packages/s3transfer/futures.py", line 264, in result raise self._exception File "/usr/local/lib/python3.10/site-packages/s3transfer/tasks.py", line 265, in _main self._submit(transfer_future=transfer_future, **kwargs) File "/usr/local/lib/python3.10/site-packages/s3transfer/download.py", line 352, in _submit response = client.head_object( File "/usr/local/lib/python3.10/site-packages/botocore/client.py", line 569, in _api_call return self._make_api_call(operation_name, kwargs) File "/usr/local/lib/python3.10/site-packages/botocore/client.py", line 1023, in _make_api_call raise error_class(parsed_response, operation_name) botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
Container logs:
Fetching error logs...