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

Hugging face model page | Github Repo | Multitask Prompted Training Enables Zero-Shot Task Generalization

" examples = [ ['What is the capital of France?'] ] 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()