MCPcopy Create free account
hub / github.com/cpystan/SD-VLM / __init__

Method __init__

llava/utils.py:64–68  ·  view source on GitHub ↗
(self, logger, log_level=logging.INFO)

Source from the content-addressed store, hash-verified

62 Fake file-like stream object that redirects writes to a logger instance.
63 """
64 def __init__(self, logger, log_level=logging.INFO):
65 self.terminal = sys.stdout
66 self.logger = logger
67 self.log_level = log_level
68 self.linebuf = ''
69
70 def __getattr__(self, attr):
71 return getattr(self.terminal, attr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected