Ahsen Khaliq
Create app.py
c2838bd
raw
history blame contribute delete
714 Bytes
import gradio as gr
title = "t5-base-fine-tuned-on-jfleg"
description = "Gradio Demo for T5-base model fine-tuned on the JFLEG dataset with the objective of text2text-generation. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
article = "<p style='text-align: center'><a href='https://huggingface.co/Modfiededition/t5-base-fine-tuned-on-jfleg' target='_blank'>Huggingface Model</a></p>"
examples = [
['I am write on AI']
]
gr.Interface.load("huggingface/Modfiededition/t5-base-fine-tuned-on-jfleg", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()