transformers torch tensorflow gradio pygame numpy scripts