Should you try harder to make it work for your kids?

I wonder what everyones take is on making a relationship work for the sake of the children.

I am 31 weeks pregnant with my SO and I first child. I don't know if it's my hormones or if I'm really just not in love anymore and I don't know what to do....