Proof (continuity relative to subspace topology)

Take $V\in \rho$. Then $$ \begin{align*} (f|_A)\inv(V) = A \cap \underbrace{f\inv(V)}_{\in \tau} \end{align*} $$ so it is open in the subspace topology.