You’ll want to pull the carpet up and padding underneath so the air from the fan hits both sides and everything can evaporate. It’s pretty much impossible to get the carpet to dry quick enough to avoid mildew without raising the carpet and pad enough for the air to circulate.