code: def change_image(
      prompt,
      init_image=None,
      init_file=None,
      filename=None,
      gpu_id="auto",
      pipe=None,
  ):
      if pipe is None:
          pipe = get_pipe_change_image(gpu_id)
  
      if init_file:
          init_image = load_image(init_file).resize((512, 512))
  
      image = pipe(
          prompt,
          image=init_image,
          num_inference_steps=2,
          strength=0.5,
          guidance_scale=0.0,
      ).images[0]
      if filename:
          image.save(filename)
          return filename
      else:
          return image
  
file_path: h2ogpt/src/vision/sdxl.py
imports: import os
  import filelock
  import torch
  from diffusers import AutoPipelineForImage2Image, AutoPipelineForText2Image
  from diffusers.utils import load_image
  from src.utils import cuda_vis_check, makedirs
label_desc: Use image node_id 5 for calling a global function with example usage: change_image(prompt, init_image, init_file, filename, gpu_id, pipe) and returns: filename, image