code: def get_user_input():
      compute_environment = _ask_options(
          "In which compute environment are you running?",
          ["This machine", "AWS (Amazon SageMaker)"],
          _convert_compute_environment,
      )
      if compute_environment == ComputeEnvironment.AMAZON_SAGEMAKER:
          config = get_sagemaker_input()
      else:
          config = get_cluster_input()
      return config
  
file_path: accelerate/src/accelerate/commands/config/config.py
imports: import argparse
  import os
  from accelerate.utils import ComputeEnvironment
  from .cluster import get_cluster_input
  from .config_args import cache_dir, default_config_file, default_yaml_config_file, load_config_from_file
  from .config_utils import _ask_field, _ask_options, _convert_compute_environment
  from .sagemaker import get_sagemaker_input
label_desc: Use image node_id 1 for calling a global function with example usage: get_user_input() and returns: config