code: def simple_display(opt, world, turn):
      if opt["batchsize"] > 1:
          raise RuntimeError("Simple view only support batchsize=1")
      teacher, response = world.get_acts()
      if turn == 0:
          text = (
              "- - - NEW EPISODE: "
              + teacher.get("id", "[no agent id]")
              + "- - -"
          )
          print(colorize(text, "highlight"))
      text = teacher.get("text", "[no text field]")
      print(colorize(text, "text"))
      response_text = response.get("text", "No response")
      labels = teacher.get(
          "labels", teacher.get("eval_labels", ["[no labels field]"])
      )
      labels = "|".join(labels)
      print(colorize("    labels: " + labels, "labels"))
      print(colorize("     model: " + response_text, "text2"))
  
file_path: ParlAI/parlai/scripts/display_model.py
imports: from parlai.core.params import ParlaiParser
  from parlai.core.agents import create_agent
  from parlai.core.worlds import create_task
  from parlai.core.script import ParlaiScript, register_script
  from parlai.utils.strings import colorize
  import parlai.utils.logging
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: simple_display(opt, world, turn) without return types