def _is_gpu_available(cls) -> bool:
        """Check if GPU is available for EasyOCR.

        Returns:
            bool: True if GPU support is available.
        """
        try:
            import torch

            return torch.cuda.is_available()
        except ImportError:
            return False
Check if GPU is available for EasyOCR.

        Returns:
            bool: True if GPU support is available.
        
kreuzberg/_ocr/_easyocr.py