nickmuchi commited on
Commit
0a4ef0e
β€’
1 Parent(s): 30b1b63

Update pages/1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py

Browse files
pages/1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py CHANGED
@@ -2,4 +2,14 @@ import streamlit as st
2
 
3
  st.set_page_config(page_title="Earnings Sentiment Analysis", page_icon="πŸ“ˆ")
4
  st.sidebar.header("Sentiment Analysis")
5
- st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  st.set_page_config(page_title="Earnings Sentiment Analysis", page_icon="πŸ“ˆ")
4
  st.sidebar.header("Sentiment Analysis")
5
+ st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
6
+
7
+ results, title = inference(url)
8
+
9
+ st.subheader(title)
10
+
11
+ earnings_passages = results['text']
12
+
13
+ with open('earnings.txt','w') as f:
14
+ f.write(earnings_passages)
15
+