class_docstr: This tests whether the entrypoints run without errors without quantitative measure of the outputs.
  
  Note: This does not launch the gradio server. It only checks if the right inferencer is called.
docstr: Get functions from Gradio_inference.py
docstr_tok: ["Get","functions","from","Gradio_inference.py"]
code: def get_functions(self):
      """Get functions from Gradio_inference.py"""
      if find_spec("gradio_inference") is not None:
          from tools.inference.gradio_inference import (
              get_inferencer,
              get_parser,
          )
      else:
          raise Exception(
              "Unable to import gradio_inference.py for testing"
          )
      return get_parser, get_inferencer
  
file_path: anomalib/tests/pre_merge/tools/test_gradio_entrypoint.py
imports: from __future__ import annotations
  import sys
  from importlib.util import find_spec
  import pytest
  from anomalib.data import TaskType
  from anomalib.deploy import ExportMode, OpenVINOInferencer, TorchInferencer, export
  from anomalib.models import get_model
label_desc: Use image node_id 1 for calling the TestGradioInferenceEntrypoint obj's underlying member method code with example usage: obj.get_functions() and returns: get_parser,  get_inferencer