def clear_static_files():
    """Clears all static files from the _StaticFiles class.

    This is necessary because the tests should be independent of one another.
    """
    yield
    from gradio import data_classes

    data_classes._StaticFiles.clear()
Clears all static files from the _StaticFiles class.

    This is necessary because the tests should be independent of one another.
    
test/conftest.py