No issues here on your files.
Try to run your script without InpaintDelogo, see if you get no error.
Then run script with only "Version()" in it and post its output.
Then share the output of "AVSMeter.exe -avsinfo". [
https://forum.doom9.org/showthread.php?t=174797 ]