code: def setup_interactive():
      """
      Set up the interactive script.
      """
      parser = setup_args()
      opt = parser.parse_args()
      if not opt.get("model_file"):
          raise RuntimeError("Please specify a model file")
      if opt.get("fixed_cands_path") is None:
          fcp = os.path.join(
              "/".join(opt.get("model_file").split("/")[:-1]),
              "candidates.txt",
          )
          opt["fixed_cands_path"] = fcp
          opt["override"]["fixed_cands_path"] = fcp
      opt[
          "task"
      ] = "parlai.agents.local_human.local_human:LocalHumanAgent"
      opt["image_mode"] = "resnet152"
      opt["no_cuda"] = True
      opt["override"]["no_cuda"] = True
      SHARED["opt"] = opt
      SHARED["image_loader"] = ImageLoader(opt)
  
      # Create model and assign it to the specified task
      SHARED["agent"] = create_agent(opt, requireModelExists=True)
      SHARED["world"] = create_task(opt, SHARED["agent"])
  
      # Dialog History
      SHARED["dialog_history"] = []
  
imports: from typing import Dict, Any
  from http.server import BaseHTTPRequestHandler, HTTPServer
  from parlai.scripts.interactive import setup_args
  from parlai.core.agents import create_agent
  from parlai.core.worlds import create_task
  from parlai.core.image_featurizers import ImageLoader
  import json
  import cgi
  import PIL.Image
  from base64 import b64decode
  import io
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: setup_interactive() without return types