Dataset is not callable

I think your situation is similar to this, you should redesign your program according to the provided tutorial.