A local void and the accelerating Universe