Rental Unit - Repairs and upgrades

After my tenants moved out, I replaced carpets, curtains, countertops in kitchen and bathroom, did the normal re-keying, stove light bulb, refrigerator filter etc.  After the unit remained empty for two months, I decided to move in.  Can I still deduct those upgrades as it was technically still a rental unit?