Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "NLP Tasks - T0"
|
4 |
+
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."
|
5 |
+
|
6 |
+
gr.Interface.load("huggingface/bigscience/T0pp", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title, description=description, enable_queue=True).launch()
|