Letting my mom be the way she is

When we’re having conversations, my mom is often talking about other people, criticizing and judging.
I know that this is what I’m currently doing while talking about her, but here’s the thing: it’s something that I really don’t like, and as much as I’m trying to let her be the way she is, I’m just not enjoying the time spent with her.

I’m trying to ask myself how I can show up considering that circumstance, and I realize that I would rather not show up at all!
But at the same time, I want to have a relationship with her, but I don’t know how to do that while letting her be.

Thank you so so much for your help.