We provide conditions that imply the continuity of the Lyapunov exponents for non-uniformly fiber-bunched cocycles in
$SL(2,\mathbb {R})$
. The main theorem is an extension of the result of Backes, Brown and Butler and gives a partial answer to a conjecture of Marcelo Viana.