human
Write me a the Python code you requested given the following:
Complete the below
def filter_factory(global_conf, **local_conf):

    ''''Returns a Static Web WSGI filter for use with paste.deploy.'
    '''
assistant
#Here is the Python code you requested.
    conf = global_conf.copy()
    conf.update(local_conf)
    def staticweb_filter(app):
        return StaticWeb(app, conf)
    return staticweb_filter