system
Answer the question or perform the task.
human
Identify and correct the subject-verb agreement error in this sentence.

Relevant data:
"The group of people were walking towards the library."
gpt
The group of people was walking towards the library.