Fix sample code to deploy and inference tasks using audio/image files

@philschmid - what’s the best way to do this? @sohoha is happy to provide the correct code snippet, he just needs to know how … Is it possible to raise issues or PRs for this?