code: def update(self, amount: int = 1):
      if self.closed:
          return
      self.cur += amount
  
      cur_t = time()
      if cur_t - self.last_print_t >= self.mininterval:
          self._refresh()
          self.last_print_t = cur_t
  
imports: import sys
  import warnings
  from time import time
  from typing import cast, Iterable, Sized, TextIO
  from captum._utils.typing import Literal
label_desc: Use image node_id 6 for calling the SimpleProgress obj's underlying member method code with example usage: obj.update(amount) without return types