| 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"] | |
| ] | |
| gr.load("models/StephanAkkerman/FinTwitBERT-sentiment", title=title, description=description, examples=examples).launch() |