Duplicated from gradio/text_generation
This text generation demo takes in input text and returns generated text. It uses the Transformers library to set up the model and has two examples.