transformers==4.42.0 torch==2.4.0 gradio Pillow safetensors accelerate matplotlib numpy google-generativeai