code: def load_image_from_base64(image):
      return Image.open(BytesIO(base64.b64decode(image)))
  
file_path: ml-ferret/ferret/mm_utils.py
imports: from PIL import Image
  from io import BytesIO
  import base64
  import torch
  from transformers import StoppingCriteria
  from ferret.constants import IMAGE_TOKEN_INDEX
label_desc: Use image node_id 1 for calling a global function with example usage: load_image_from_base64(image) and returns: Image