MCPcopy Create free account
hub / github.com/FreedomIntelligence/LLMZoo / flush

Method flush

llmzoo/deploy/webapp/utils.py:91–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 self.linebuf += line
90
91 def flush(self):
92 if self.linebuf != "":
93 encoded_message = self.linebuf.encode("utf-8", "ignore").decode("utf-8")
94 self.logger.log(self.log_level, encoded_message.rstrip())
95 self.linebuf = ""
96
97
98def disable_torch_init():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected