How to add a drag term to the Navier-Stokes equations and find the velocity derivative with respect to this term

The link is the example that solves the lid driven cavity based on PINN. But I want to add a drag term of (-alpha*u, -alpha*v) to the Navier-Stokes equations. After training, find the velocity derivative with respect to alpha. Could anyone help me? Thank you very much.