code: def main():
      global service
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "-p",
          "--port",
          type=int,
          help="What port to listen on",
          default=8000,
      )
      parser.add_argument(
          "-o",
          "--output-path",
          type=str,
          help="The location of the output path",
          default="benchmark_output",
      )
      args = parser.parse_args()
  
      # Determine the location of the static directory.
      # This is a hack: it assumes that the static directory has a physical location,
      # which is not always the case (e.g. when using zipimport).
      resource_path = resources.files("helm.benchmark.static").joinpath(
          "index.html"
      )
      with resources.as_file(resource_path) as resource_filename:
          static_path = str(resource_filename.parent)
  
      app.config["helm.staticpath"] = static_path
      app.config["helm.outputpath"] = path.abspath(args.output_path)
  
      app.run(host="0.0.0.0", port=args.port)
  
imports: import argparse
  import importlib_resources
  from os import path
  from bottle import Bottle, static_file
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types