human
Complete the below
def debounce(seconds=1):

    ''''Prevents the decorated function from being called more than every `seconds`
    seconds. Waits until calls stop coming in before calling the decorated
    function.'
    '''
 Write me a the Python code you requested?
assistant
#Here is the Python code you requested.
    def decorator(func):
        func.timer = None
        @wraps(func)
        def wrapper(*args, **kwargs):
            def call():
                func(*args, **kwargs)
                func.timer = None
            if func.timer:
                func.timer.cancel()
            func.timer = Timer(seconds, call)
            func.timer.start()
        return wrapper
    return decorator