code: def act(self):
      reply = Message()
      reply["id"] = self.getID()
      try:
          reply_text = input(
              colorize("Enter Your Message:", "text") + " "
          )
      except EOFError:
          self.finished = True
          return {"episode_done": True}
  
      reply_text = reply_text.replace("\\n", "\n")
      reply["episode_done"] = False
      if self.opt.get("single_turn", False):
          reply.force_set("episode_done", True)
      reply["label_candidates"] = self.fixedCands_txt
      if "[DONE]" in reply_text:
          # let interactive know we're resetting
          raise StopIteration
      reply["text"] = reply_text
      if "[EXIT]" in reply_text:
          self.finished = True
          raise StopIteration
      return reply
  
file_path: ParlAI/parlai/agents/local_human/local_human.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.agents import Agent
  from parlai.core.message import Message
  from parlai.utils.misc import display_messages, load_cands
  from parlai.utils.strings import colorize
label_desc: Use image node_id 5 for calling the LocalHumanAgent obj's underlying member method code with example usage: obj.act() and returns: reply, dict