MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / __init__

Method __init__

src/diffusers/utils/testing_utils.py:786–790  ·  view source on GitHub ↗
(self, logger)

Source from the content-addressed store, hash-verified

784 """
785
786 def __init__(self, logger):
787 self.logger = logger
788 self.io = StringIO()
789 self.sh = logging.StreamHandler(self.io)
790 self.out = ""
791
792 def __enter__(self):
793 self.logger.addHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected