code: def print_args_table(cfg):
      from rich.table import Table
      from rich import box
      from rich.console import Console
  
      console = Console()
  
      param_str = Table(
          title=cfg["name_docarray"],
          box=box.ROUNDED,
          highlight=True,
          title_justify="left",
      )
      param_str.add_column("Argument", justify="right")
      param_str.add_column("Value", justify="left")
  
      for k, v in sorted(cfg.items()):
          value = str(v)
  
          if not default_args.get(k, None) == v:
              value = f"[b]{value}[/]"
  
          param_str.add_row(k, value)
  
      console.print(param_str)
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/reverse_diffusion/config.py
imports: import copy
  import random
  import warnings
  from types import SimpleNamespace
  from typing import Dict
  import yaml
  from yaml import Loader
  from .None import __resources_path__
label_desc: Use image node_id 2 for calling a global function with example usage: print_args_table(cfg) without return types