torch torchvision spaces gradio transformers accelerate pytest loguru python-dotenv opencv-python timm pymupdf