import gradio as gr title = "T5" description = "Gradio Demo for T5. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "

Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer

" examples = [ ['My name is Sarah and I live in London'] ] gr.Interface.load("huggingface/t5-base", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples).launch(enable_queue=True)