code: def select_style(name):
      style = shared.prompt_styles.styles.get(name)
      existing = style is not None
      empty = not name
  
      prompt = style.prompt if style else gr.update()
      negative_prompt = style.negative_prompt if style else gr.update()
  
      return (
          prompt,
          negative_prompt,
          gr.update(visible=existing),
          gr.update(visible=not empty),
      )
  
file_path: stable-diffusion-webui/modules/ui_prompt_styles.py
imports: import gradio
  from modules import shared, ui_common, ui_components, styles
label_desc: Use image node_id 1 for calling a global function with example usage: select_style(name) and returns: prompt,  negative_prompt,  gr,  gr