In which sentence us a comma used correctly

Bot GPT 3.5 Bot GPT 3.5 answered

The girl, who was wearing a red dress, smiled at me.