From the pics, the original plant was re-potted ?
And if so... good call !! The first pics shows a plant that is clearly in distress. Like almost dead.
The second pic looks like a completely different plant!! Not even sure I can say it is the same plant !!! Glad you were able to resurrect the near dead plant.... peppers to come !
Happy Growing,
Jeff