StephanAkkerman's picture
Update app.py
42affe6 verified
raw
history blame
788 Bytes
import gradio as gr
description = "Classify Financial Tweets with FinTwitBERT"
title = "FinTwitBERT-Sentiment"
examples = [["Nice 9% pre market move for $para, pump my calls Uncle\_Buffett\_🤑"],
["It is about damn time that my $ARB and $ETH bags pump FFS. 🚀"],
["$SPY $SPX closed higher 8th consecutive weeks. Last time it closed 9th straight was 20 years ago."],
["$TCBP Lowest float stock in the market. Float just 325k. Don’t sell for pennies, this one will be a monster. Still early"],
["Italian companies braced for more political uncertainty"]
]
interface = gr.Interface.load("models/StephanAkkerman/FinTwitBERT-sentiment",
description=description,
examples=examples
)
interface.launch()