In the audio, the woman uses the phrase “一直 向前 走” twice. But the 2nd she says the phrase the transcription shows 一直 往前 走 instead of 一直 向前 走 the 2nd time. In other words, the text shows 往 (wang3) instead of 向 (xiang4).
In this context the words are interchangeable.