code: def auto_select_platform():
      platforms = detect_platforms()
      if len(platforms) > 1:
          choice = prompt_choices(
              platforms,
              "Found many providers, which provider do you want to use",
          )
      elif len(platforms) == 1:
          choice = platforms[0]
      else:
          choice = prompt_choices(
              ["gcp", "aws"], "Which provider do you want to use"
          )
  
      return choice
  
imports: import os
  import json
  import subprocess
  from pathlib import Path
  import click
  import fiber
  import fiber.core
  from fiber.core import ProcessStatus
label_desc: Use image node_id 10 for calling a global function with example usage: auto_select_platform() and returns: choice