1042-S for resident for tax purpose

Dear TT community,

I am a researcher that left the US during last August (after spending 2 years in Atlanta starting in November 2022), I'm trying to fill my tax for 2024 but I'm now considered as a US resident for tax purpose (even if I don't live in the US anymore), so I can't use sprintax anymore.

I can't find where to report my 1042-S and especially how to not get taxed on the gross income stated on the 1042-S as the 1042-S states that the french-usa treaty exempt me from federal and state taxes (which was the case in 2023).

Thanks you in advance for your help, 
Best, 
Corentin