code: def get_roles(choices=None, value=None):
      if choices is None:
          choices = allowed_roles()
      if value is None:
          value = choices[0]
      import gradio as gr
  
      chatbot_role = gr.Dropdown(
          label="Speech Style",
          choices=choices,
          value=value,
      )
      return chatbot_role
  
imports: from __future__ import annotations
  import functools
  import io
  import os
  import tempfile
  import numpy
  import uuid
  import subprocess
  import time
  from src.tts_sentence_parsing import init_sentence_state, get_sentence, clean_sentence, detect_language
  from src.tts_utils import prepare_speech, get_no_audio, chunk_speed_change
  from src.utils import cuda_vis_check
  import torch
label_desc: Use image node_id 9 for calling a global function with example usage: get_roles(choices, value) and returns: chatbot_role