File size: 453 Bytes
825fdcb
 
 
 
 
a2d6c82
1
2
3
4
5
6
import gradio as gr

title = "NLP Tasks - T0"
description = "This T0 language model can perform natural language processing (NLP) tasks such as inference, paraphrasing, question-answering and summarization. You can specify the task and query in natural language in the Input Text box."

gr.Interface.load("huggingface/bigscience/T0", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title, description=description, enable_queue=True).launch()