code: def interactive_setup(
      env, config, cpu, gpu, node, aws, user, overwrite
  ):  # pragma: no cover
      """
      Interactive user interface to get parameters for setup
      """
      print("Hit ENTER to use default values in brackets.")
      if env == ".":
          env = input(
              "Load existing Auptimizer environment (env.ini file path), hit ENTER to initialize a new one:"
          )
  
      if env.strip() == "":
          config = interactive_env(config)
      else:
          if not os.path.isfile(env):
              logger.fatal(
                  "Environment file %s does not exist, exit!", env
              )
              exit(1)
          try:
              config.read(env)
          except Exception as e:
              logger.fatal(
                  "Failed to load environment template %s using ConfigParser",
                  env,
              )
              raise e
  
      cpu = int(
          input("Number of CPUs for parallel jobs (%d):" % cpu) or cpu
      )
      gpu = (
          input("GPU template file or comma-separated IDs (%s):" % gpu)
          or gpu
      )
      node = (
          input(
              "Node template file (%s) or comma-separated nodes (user@ip:[port] [keyfile]):"
              % node
          )
          or node
      )
      aws = (
          input(
              "AWS template file (%s) or comma-separated nodes (user@ip):[port] [keyfile]):"
              % aws
          )
          or aws
      )
      user = input("Username (%s):" % user) or user
  
      if not overwrite:
          overwrite = input("Overwrite (y/N)").lower() == "y"
  
      return config, cpu, gpu, node, aws, user, overwrite
  
file_path: auptimizer/src/aup/setup.py
imports: import json
  import logging
  import os
  from shutil import rmtree
  import sys
  import click
  import coloredlogs
  from six.moves import input
  from six.moves.configparser import ConfigParser
  from .utils import get_default_username, LOG_LEVEL
label_desc: Use image node_id 4 for calling a global function with example usage: interactive_setup(env, config, cpu, gpu, node, aws, user, overwrite) and returns: config,  cpu,  gpu,  node,  aws,  user,  overwrite