File size: 457 Bytes
4129b52
 
aaa0e46
aa77ffe
4129b52
8a1711a
1
2
3
4
5
6
import gradio as gr

title = "NLP Tasks - T0pp"
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/T0pp", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title, description=description, enable_queue=True).launch()