MCPcopy Create free account
hub / github.com/EmbodiedGPT/EmbodiedGPT_Pytorch / flush

Method flush

robohusky/utils.py:101–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 self.linebuf += line
100
101 def flush(self):
102 if self.linebuf != "":
103 encoded_message = self.linebuf.encode("utf-8", "ignore").decode("utf-8")
104 self.logger.log(self.log_level, encoded_message.rstrip())
105 self.linebuf = ""
106
107
108def disable_torch_init():

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected