We're taking user input here, so we should explicitly check `elif payload['predict']` or fall through to a 400, I think. -- @ijl