finbert-tone / app.py
Ahsen Khaliq
Create app.py
5a861a6
raw history blame
No virus
553 Bytes
import gradio as gr
title = "bart-large"
description = "Gradio Demo for bart-large, 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/facebook/bart-large-mnli' target='_blank'>Huggingface Model Page</a></p>"
examples = [
["Stocks rallied and the British pound gained."]
]
gr.Interface.load("huggingface/ProsusAI/finbert",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()