threading openai io PIL numpy cv2 keyboard time speech_recognition uuid gtts playsound torch transformers tensorflow pandas matplotlib re urllib inspect ast astunparse torch torch torch