A woman fought off her attacker during an attempted sexual assault in Leeds.