Flask torch torchvision numpy Pillow supervision inference python-dotenv gunicorn ftfy regex tqdm supabase