code: def setUpClass(cls) -> None:
      settings.MONAI_LABEL_APP_DIR = cls.app_dir
      settings.MONAI_LABEL_STUDIES = cls.studies
      settings.MONAI_LABEL_DATASTORE_AUTO_RELOAD = False
  
      if torch.cuda.is_available():
          cls.app: MONAILabelApp = app_instance(
              app_dir=cls.app_dir,
              studies=cls.studies,
              conf={
                  "preload": "true",
                  "models": "segmentation_spleen",
              },
          )
  
file_path: MONAILabel/tests/unit/interfaces/test_app.py
imports: import os
  import unittest
  import torch
  from parameterized import parameterized
  from monailabel.config import settings
  from monailabel.interfaces.app import MONAILabelApp
  from monailabel.interfaces.tasks.batch_infer import BatchInferImageType
  from monailabel.interfaces.utils.app import app_instance
label_desc: Use image node_id 1 for calling the TestApp obj's underlying member method code with example usage: obj.setUpClass(cls) without return types