Update pages/1_Earnings_Sentiment_Analysis_π_.py
Browse files
pages/1_Earnings_Sentiment_Analysis_π_.py
CHANGED
@@ -11,7 +11,6 @@ st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
|
|
11 |
|
12 |
if st.session_state.url or st.session_state.upload:
|
13 |
|
14 |
-
@st.experimental_memo(suppress_st_warning=True)
|
15 |
results, title = inference(st.session_state.url,st.session_state.upload)
|
16 |
|
17 |
st.subheader(title)
|
@@ -23,8 +22,7 @@ if st.session_state.url or st.session_state.upload:
|
|
23 |
|
24 |
with open('earnings.txt','r') as f:
|
25 |
earnings_passages = f.read()
|
26 |
-
|
27 |
-
@st.experimental_memo(suppress_st_warning=True)
|
28 |
earnings_sentiment, earnings_sentences = sentiment_pipe(earnings_passages)
|
29 |
|
30 |
with st.expander("See Transcribed Earnings Text"):
|
|
|
11 |
|
12 |
if st.session_state.url or st.session_state.upload:
|
13 |
|
|
|
14 |
results, title = inference(st.session_state.url,st.session_state.upload)
|
15 |
|
16 |
st.subheader(title)
|
|
|
22 |
|
23 |
with open('earnings.txt','r') as f:
|
24 |
earnings_passages = f.read()
|
25 |
+
|
|
|
26 |
earnings_sentiment, earnings_sentences = sentiment_pipe(earnings_passages)
|
27 |
|
28 |
with st.expander("See Transcribed Earnings Text"):
|