Automator script runs without error but does nothing?
I think you want "Pass input: as arguments" (drop-down menu to the right of your "Run Shell Script" component) and then the following script

for f in "$@"
do
    /usr/local/bin/python3 /Volumes/Scripts/script.py "$f"
done