gradio numpy torch diffusers transformers accelerate safetensors huggingface-hub spaces sentencepiece