code: def setup_server(task_name, local=False):
      if local:
          return setup_local_server(task_name)
      return setup_heroku_server(task_name)
  
file_path: ParlAI/parlai/chat_service/utils/server.py
imports: import getpass
  import glob
  import hashlib
  import netrc
  import os
  import platform
  import sh
  import shlex
  import shutil
  import subprocess
  import time
label_desc: Use image node_id 5 for calling a global function with example usage: setup_server(task_name, local) and returns: setup_heroku_server, setup_local_server