Deploying AI Applications as Batch Services