<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def controls(self, timeline_slider_args={}, toggle_args={}):
 """Creates interactive controls for the animation Creates both a play/pause button, and a time slider at once Parameters timeline_slider_args : Dict, optional A dictionary of arguments to be passed to timeline_slider() toggle_args : Dict, optional A dictionary of argyments to be passed to toggle() """

        self.timeline_slider(**timeline_slider_args)
        self.toggle(**toggle_args)