Former Knaresborough vaccine centre to become gym