diff --git a/06_gpu_and_ml/mlc/mlc_inference.py b/06_gpu_and_ml/mlc/mlc_inference.py index 783322229..fc21429a2 100644 --- a/06_gpu_and_ml/mlc/mlc_inference.py +++ b/06_gpu_and_ml/mlc/mlc_inference.py @@ -86,7 +86,7 @@ class QueueCallback(DeltaCallback): def __init__(self, callback_interval: float): super().__init__() - self.queue:queue.Queue = queue.Queue() + self.queue: queue.Queue = queue.Queue() self.stopped = False self.callback_interval = callback_interval @@ -131,7 +131,7 @@ def main(prompt: str): import curses def _generate(stdscr): - buffer:List[str] = [] + buffer: List[str] = [] def _buffered_message(): return "".join(buffer) + ("\n" * 4)