code: def before_hr(self, p, *args):
      enable = (
          shared.opts.hypertile_enable_unet_secondpass
          or shared.opts.hypertile_enable_unet
      )
  
      # exclusive hypertile seed for the second pass
      if enable:
          hypertile.set_hypertile_seed(p.all_seeds[0])
  
      configure_hypertile(
          p.hr_upscale_to_x, p.hr_upscale_to_y, enable_unet=enable
      )
  
      if enable and not shared.opts.hypertile_enable_unet:
          p.extra_generation_params[
              "Hypertile U-Net second pass"
          ] = True
  
          self.add_infotext(p, add_unet_params=True)
  
file_path: stable-diffusion-webui/extensions-builtin/hypertile/scripts/hypertile_script.py
imports: import hypertile
  from modules import scripts, script_callbacks, shared
  from scripts.hypertile_xyz import add_axis_options
label_desc: Use image node_id 4 for calling the ScriptHypertile obj's underlying member method code with example usage: obj.before_hr(p) without return types