code: def __next__(self):
      try:
          val = next(self._iter)
          self.progress += 1
          self.bar.progress(
              self.progress / self.total,
              text=f"Running perturbations ({self.progress}/{self.total})",
          )
          return val
      except StopIteration:
          self.bar.empty()
          raise
  
file_path: interpret-text/python/interpret_text/generative/model_lib/streamlit_frontend.py
imports: import streamlit
  import numpy
label_desc: Use image node_id 3 for calling the ProgressBar obj's underlying member method code with example usage: obj.__next__() and returns: val