Python Pipeline Text2text Generation