Correcting tempo on a part of a single track

Hi

I have a bass recording which is has distinct 8 beat pattern going on in choruses of a song. It is however slightly out of sync here and there. The verses are good so I would like to leave them as they are.

In an attempt to fix the chorus issue it I’ve been tinkering with the detect tempo functionality. I have some luck with it, as I go on working with the bass track it kind of falls apart. Is there some other functions I should try or is tempo detection able to correct parts of the tempo of a single audio track such that it is adjusted to the rest of the song?

Thanks!