Over?

So after having the baby, it was really hard for me to love my body which led to my S.O. And I not really having sex. Which in the beginning he was understanding but it’s been a couple of months and I started an antidepressant which has taken the sex drive from me so now sex is basically nonexistent. I was telling my bf how I love our daughter more than him and he brought it up in the argument and pointed how I don’t have any love for him and how he doesn’t feel appreciated. Is this relationship over ? He says he feels like giving up. Do I deserve better? I feel like it takes 2 to tango so maybe I am responsible too.