File size: 553 Bytes
5a861a6
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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()