code: def get_string_from_tuple(s):
      try:
          # Check if the string starts and ends with parentheses
          if s[0] == "(" and s[-1] == ")":
              # Convert the string to a tuple
              t = eval(s)
              # Check if the type of t is tuple
              if type(t) == tuple:
                  return t[0]
              else:
                  pass
      except:
          pass
      return s
  
imports: import functools
  import importlib
  import os
  from functools import partial
  from inspect import isfunction
  import fsspec
  import numpy
  import torch
  from PIL import Image, ImageDraw, ImageFont
  from safetensors.torch import load_file
label_desc: Use image node_id 2 for calling a global function with example usage: get_string_from_tuple(s) and returns: s, t