nlp_tasks_1 / app.py
Wootang01's picture
Create app.py
825fdcb
raw
history blame
455 Bytes
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/T0pp", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title, description=description, enable_queue=True).launch()