scikit-learn torch transformers gradio black scipy