code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Speech Data Explorer"
      )
      parser.add_argument(
          "manifest",
          help="path to JSON manifest file",
      )
      parser.add_argument(
          "--vocab", help="optional vocabulary to highlight OOV words"
      )
      parser.add_argument(
          "--port",
          default="8050",
          help="serving port for establishing connection",
      )
      parser.add_argument(
          "--disable-caching-metrics",
          action="store_true",
          help="disable caching metrics for errors analysis",
      )
      parser.add_argument(
          "--estimate-audio-metrics",
          "-a",
          action="store_true",
          help="estimate frequency bandwidth and signal level of audio recordings",
      )
      parser.add_argument(
          "--audio-base-path",
          default=None,
          type=str,
          help="A base path for the relative paths in manifest. It defaults to manifest path.",
      )
      parser.add_argument(
          "--debug", "-d", action="store_true", help="enable debug mode"
      )
  
      parser.add_argument(
          "--names_compared",
          "-nc",
          nargs=2,
          type=str,
          help='names of the two fields that will be compared, example: pred_text_contextnet pred_text_conformer. "pred_text_" prefix IS IMPORTANT!',
      )
      parser.add_argument(
          "--show_statistics",
          "-shst",
          type=str,
          help="field name for which you want to see statistics (optional). Example: pred_text_contextnet.",
      )
      args = parser.parse_args()
  
      # assume audio_filepath is relative to the directory where the manifest is stored
      if args.audio_base_path is None:
          args.audio_base_path = os.path.dirname(args.manifest)
  
      # automaticly going in comparison mode, if there is names_compared argument
      if args.names_compared is not None:
          comparison_mode = True
          logging.error("comparison mod set to true")
      else:
          comparison_mode = False
  
      print(args, comparison_mode)
      return args, comparison_mode
  
imports: import argparse
  import base64
  import csv
  import datetime
  import difflib
  import io
  import json
  import logging
  import math
  import operator
  import os
  import pickle
  from collections import defaultdict
  from os.path import expanduser
  from pathlib import Path
  import dash
  import dash_bootstrap_components
  import diff_match_patch
  import editdistance
  import jiwer
  import librosa
  import numpy
  import pandas
  import soundfile
  import tqdm
  from dash import dash_table, dcc, html
  from dash.dependencies import Input, Output, State
  from dash.exceptions import PreventUpdate
  from plotly import express
  from plotly import graph_objects
  from plotly.subplots import make_subplots
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: args,  comparison_mode