code: def serve(
      docs,
      style="dep",
      page=True,
      minify=False,
      options={},
      manual=False,
      port=5000,
      host="0.0.0.0",
  ):
      
      from wsgiref import simple_server
  
      if is_in_jupyter():
          user_warning(Warnings.W011)
  
      render(docs, style=style, page=page, minify=minify, options=options, manual=manual)
      httpd = simple_server.make_server(host, port, app)
      print("\nUsing the '{}' visualizer".format(style))
      print("Serving on http://{}:{} ...\n".format(host, port))
      try:
          httpd.serve_forever()
      except KeyboardInterrupt:
          print("Shutting down server on port {}.".format(port))
      finally:
          httpd.server_close()
docs: Serve displaCy visualisation.
  
      docs (list or Doc): Document(s) to visualise.
      style (unicode): Visualisation style, 'dep' or 'ent'.
      page (bool): Render markup as full HTML page.
      minify (bool): Minify HTML markup.
      options (dict): Visualiser-specific options, e.g. colors.
      manual (bool): Don't parse `Doc` and instead expect a dict/list of dicts.
      port (int): Port to serve visualisation.
      host (unicode): Host to serve visualisation.
  
      DOCS: https://spacy.io/api/top-level#displacy.serve
      USAGE: https://spacy.io/usage/visualizers