requests pillow deep-translator langdetect transformers timm opencv-python torch diffusers safetensors accelerate spaces peft