Carrying over contractor and repair cost for property I sold in 2020

I purchased and rehabbed a property in 2019 and it sold in 2020. I deducted some of my rehab cost for 2019 but would like to carryover some of those deductions into 2020 to offset my capital gain. Is that something I am able to do?