You will be given a definition of a task first, then some input of the task.
This is a paraphrasing task. In this task, you're given a sentence and your task is to generate another sentence which express same meaning as the input using different words.

the camera will automatically take a photo each time a smile is detected until the smile detection mode is disabled .
Output:
the camera detects a smiling face , and starts automatically taking pictures until the moment .