import gradio as gr title = "T5" description = "Gradio Demo for T5, Read more at the links below." article = "

Hugging face model page

" examples = [ ['Sevilla is a city in Spain'] ] gr.Interface.load("huggingface/google/t5-base-lm-adapt", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()