Gradient descent algorithm

at 9:13 in this video what lines need to be added?
i am unable to add them myself
https://online.codingblocks.com/app/player/209779/content/201836/6667/lecture

Hey @devchopra999_11c6416ab7f09bbf ,
the thing that bhaiya stated at that point is that,
after some point you will see that the error is not decreasing much , or has reached some minimum threshold value.
hence you can just check that by condition and stop in between if required.