code: def create_progressbar(*args, **kwargs):
      # Progress bars in stdout by default
      if "fd" not in kwargs:
          kwargs["fd"] = sys.stdout
  
      if FLAGS.show_progressbar:
          return progressbar.ProgressBar(*args, **kwargs)
  
      return progressbar.NullBar(*args, **kwargs)
  
file_path: DeepSpeech/training/deepspeech_training/util/logging.py
imports: from __future__ import print_function
  import progressbar
  import sys
  from .flags import FLAGS
label_desc: Use image node_id 6 for calling a global function with example usage: create_progressbar() and returns: progressbar, progressbar