INTEREST EXPENSE

I flipped a house that sold in 2020 as an investment property. Do I include the interest paid on borrowed money as part of the "cost basis" for the house? Or do I deduct it as investment interest Expense?