nlp_tasks_2 / app.py
Wootang01's picture
Update app.py
8a1711a
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()