code: def html_progress_bar(value, total, prefix, label, width=300):
      # docstyle-ignore
      return f"""
      <div>
        {prefix}
        <progress value='{value}' max='{total}' style='width:{width}px; height:20px; vertical-align: middle;'></progress>
        {label}
      </div>
      """
  
imports: import re
  import time
  from typing import Optional
  import IPython.display
  from ..trainer_callback import TrainerCallback
  from ..trainer_utils import IntervalStrategy, has_length
label_desc: Use image node_id 2 for calling a global function with example usage: html_progress_bar(value, total, prefix, label, width) and returns: str, prefix, str, value, str, total, str, width, str, label, str