import gradio as gr title = "Finbert-tone" description = "Gradio Demo for Finbert-tone, finbert-tone model is the FinBERT model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. to use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "
" examples = [ ["growth is strong and we have plenty of liquidity"] ] gr.Interface.load("huggingface/yiyanghkust/finbert-tone",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()