code: def on_step_end(self, step, logs):
          
          if self.info_names is None:
              self.info_names = logs['info'].keys()
          values = [('reward', logs['reward'])]
          if KERAS_VERSION > '2.1.3':
              self.progbar.update((self.step % self.interval) + 1, values=values)
          else:
              self.progbar.update((self.step % self.interval) + 1, values=values, force=True)
          self.step += 1
          self.metrics.append(logs['metrics'])
          if len(self.info_names) > 0:
              self.infos.append([logs['info'][k] for k in self.info_names])
docs: Update progression bar at the end of each step