code: def __init__(self, msg: str | None = None) -> None:
      self.lines = [msg] if msg else []
      self._panel = Live(
          Panel("\n".join(self.lines)), refresh_per_second=5
      )
  
file_path: gradio/gradio/cli/commands/display.py
imports: from __future__ import annotations
  import time
  from types import TracebackType
  from typing import Optional
  from rich.live import Live
  from rich.panel import Panel
label_desc: Use image node_id 1 to create a new LivePanelDisplay object  with example: obj = LivePanelDisplay(msg)