T0pp / app.py
Ahsen Khaliq
Update app.py
87d54fd
raw
history blame
834 Bytes
import gradio as gr
title = "T0-11B"
description = "Gradio Demo for T0-11B, T0* is a series of encoder-decoder models trained on a large set of different tasks specified in natural language prompts. Can use the models to perform inference on tasks by specifying your query in natural language, and the models will generate a prediction. Read more at the links below."
article = "<p style='text-align: center'><a href='https://huggingface.co/bigscience/T0_11B' target='_blank'>Hugging face model page</a></p>"
examples = [
['Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy'],
]
gr.Interface.load("huggingface/bigscience/T0_11B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()