Spaces:
Runtime error
Runtime error
File size: 728 Bytes
b7be657 9b0b2e4 b7be657 9b0b2e4 b7be657 9b0b2e4 |
1 2 3 4 5 6 7 8 |
import gradio as gr
title = "T5"
description = "Gradio Demo for T5, Read more at the links below."
article = "<p style='text-align: center'><a href='https://huggingface.co/bigscience/T0pp' target='_blank'>Hugging face model page</a> | <a href='https://github.com/bigscience-workshop/promptsource' target='_blank'>Github Repo</a> | <a href='https://arxiv.org/abs/2110.08207' target='_blank'>Multitask Prompted Training Enables Zero-Shot Task Generalization</a></p>"
examples = [
['What is the capital of France?']
]
gr.Interface.load("huggingface/google/t5-base-lm-adapt", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch() |