Correct the grammatical mistakes in the following sentence:
She was always running on the treadmill which was in the corner of the gym.
She was always running on the treadmill, which was in the corner of the gym.