StephanAkkerman commited on
Commit
42affe6
·
verified ·
1 Parent(s): 8e650b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -1,3 +1,17 @@
1
  import gradio as gr
2
 
3
- gr.load("models/StephanAkkerman/FinTwitBERT-sentiment").launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ description = "Classify Financial Tweets with FinTwitBERT"
4
+ title = "FinTwitBERT-Sentiment"
5
+ examples = [["Nice 9% pre market move for $para, pump my calls Uncle\_Buffett\_🤑"],
6
+ ["It is about damn time that my $ARB and $ETH bags pump FFS. 🚀"],
7
+ ["$SPY $SPX closed higher 8th consecutive weeks. Last time it closed 9th straight was 20 years ago."],
8
+ ["$TCBP Lowest float stock in the market. Float just 325k. Don’t sell for pennies, this one will be a monster. Still early"],
9
+ ["Italian companies braced for more political uncertainty"]
10
+ ]
11
+
12
+ interface = gr.Interface.load("models/StephanAkkerman/FinTwitBERT-sentiment",
13
+ description=description,
14
+ examples=examples
15
+ )
16
+
17
+ interface.launch()