code: def setup(
      self, p, enable_refiner, refiner_checkpoint, refiner_switch_at
  ):
      # the actual implementation is in sd_samplers_common.py, apply_refiner
  
      if not enable_refiner or refiner_checkpoint in (None, "", "None"):
          p.refiner_checkpoint = None
          p.refiner_switch_at = None
      else:
          p.refiner_checkpoint = refiner_checkpoint
          p.refiner_switch_at = refiner_switch_at
  
file_path: stable-diffusion-webui/modules/processing_scripts/refiner.py
imports: import gradio
  from modules import scripts, sd_models
  from modules.ui_common import create_refresh_button
  from modules.ui_components import InputAccordion
label_desc: Use image node_id 5 for calling the ScriptRefiner obj's underlying member method code with example usage: obj.setup(p, enable_refiner, refiner_checkpoint, refiner_switch_at) without return types