code: def select_cond_path(mode):
      path = "data/example_conditioning"  # todo
      path = os.path.join(path, mode)
      onlyfiles = [f for f in sorted(os.listdir(path))]
  
      selected = widgets.RadioButtons(
          options=onlyfiles,
          description="Select conditioning:",
          disabled=False,
      )
      display(selected)
      selected_path = os.path.join(path, selected.value)
      return selected_path
  
imports: from torchvision.datasets.utils import download_url
  from ldm.util import instantiate_from_config
  import torch
  import os
  from google.colab import files
  from IPython.display import Image
  import ipywidgets
  from PIL import Image
  from numpy import asarray
  from einops import rearrange, repeat
  import torch, torchvision
  from ldm.models.diffusion.ddim import DDIMSampler
  from ldm.util import ismap
  import time
  from omegaconf import OmegaConf
label_desc: Use image node_id 6 for calling a global function with example usage: select_cond_path(mode) and returns: selected_path