code: def setup(
      self,
      p,
      seed,
      seed_checkbox,
      subseed,
      subseed_strength,
      seed_resize_from_w,
      seed_resize_from_h,
  ):
      p.seed = seed
  
      if seed_checkbox and subseed_strength > 0:
          p.subseed = subseed
          p.subseed_strength = subseed_strength
  
      if (
          seed_checkbox
          and seed_resize_from_w > 0
          and seed_resize_from_h > 0
      ):
          p.seed_resize_from_w = seed_resize_from_w
          p.seed_resize_from_h = seed_resize_from_h
  
file_path: stable-diffusion-webui/modules/processing_scripts/seed.py
imports: import json
  import gradio
  from modules import scripts, ui, errors
  from modules.shared import cmd_opts
  from modules.ui_components import ToolButton
label_desc: Use image node_id 5 for calling the ScriptSeed obj's underlying member method code with example usage: obj.setup(p, seed, seed_checkbox, subseed, subseed_strength, seed_resize_from_w, seed_resize_from_h) without return types