def run(self):
        """This method will set the env var MARQO_ENABLE_VIDEO_GPU_ACCELERATION to TRUE or FALSE."""
        env_value = utils.read_env_vars_and_defaults(EnvVars.MARQO_ENABLE_VIDEO_GPU_ACCELERATION)
        if env_value is None:
            try:
                self._check_video_gpu_acceleration_availability()
                os.environ[EnvVars.MARQO_ENABLE_VIDEO_GPU_ACCELERATION] = "TRUE"
            except exceptions.StartupSanityCheckError as e:
                self.logger.debug(f"Failed to use GPU acceleration for video processing. We will disable it. "
                                  f"Original error message: {e}")
                os.environ[EnvVars.MARQO_ENABLE_VIDEO_GPU_ACCELERATION] = "FALSE"
                logger.info(f"Video processing with GPU acceleration is disabled")
        elif env_value == "TRUE":
            self._check_video_gpu_acceleration_availability()
            logger.info(f"Video processing with GPU acceleration is enabled")
        elif env_value == "FALSE":
            logger.info(f"Video processing with GPU acceleration is disabled")
            pass
        else:
            raise exceptions.EnvVarError(
                f"Invalid value for {EnvVars.MARQO_ENABLE_VIDEO_GPU_ACCELERATION}. "
                f"Please set it to either 'TRUE' or 'FALSE'."
            )
This method will set the env var MARQO_ENABLE_VIDEO_GPU_ACCELERATION to TRUE or FALSE.
src/marqo/inference/native_inference/remote/server/on_start_script.py