code: def format_label(label: str) -> str:
      key = label.split("/", 1)[-1]
      return {
          "model-registry": "Model Registry",
          "uiux": "UI",
      }.get(key, key.capitalize())
  
imports: import os
  import re
  import subprocess
  from collections import defaultdict
  from datetime import datetime
  from pathlib import Path
  from typing import Any, List, NamedTuple
  import click
  import requests
  from packaging.version import Version
label_desc: Use image node_id 3 for calling a global function with example usage: format_label(label) and returns: dict