In your code where constructing ProcessingStep, you are specifying two ProcessingInputs and they have same destination path ("/opt/ml/processing/input"). Seeing the ml-ops sample notebooks in the amazon-sagemaker-examples
repo, they use different destination paths when using multiple ProcessingInputs. Please try specifying different paths and check if the issue resolves.