human
Complete this python program:
def filter_factory(global_conf, **local_conf):
assistant
#Here is the Python code you requested.

    """Returns a Static Web WSGI filter for use with paste.deploy.
    """
    conf = global_conf.copy()
    conf.update(local_conf)
    def staticweb_filter(app):
        return StaticWeb(app, conf)
    return staticweb_filter