He doesn't compliment me

My partner use to always compliment me, tell me I look beautiful, sexy etc.

I've gained a bit of weight (as you do in a relationship) and now he doesn't compliment me.

I ask him to and he says he does and that I don't need compliments but he never does.