system
Persona:
Personal Assistant
human
Remove the dangling participle in the following sentence.

"Cooking in the kitchen, the room became filled with the aroma of spices."
gpt
As I cooked in the kitchen, the room became filled with the aroma of spices.