nickmuchi commited on
Commit
ab20b35
β€’
1 Parent(s): 35a0403

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

Browse files
pages/1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py CHANGED
@@ -9,8 +9,9 @@ st.set_page_config(page_title="Earnings Sentiment Analysis", page_icon="πŸ“ˆ")
9
  st.sidebar.header("Sentiment Analysis")
10
  st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
11
 
12
-
13
- results, title = inference(st.session_state.url,st.session_state.upload)
 
14
 
15
  st.subheader(title)
16
 
 
9
  st.sidebar.header("Sentiment Analysis")
10
  st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
11
 
12
+ if st.session_state.url.on_change or st.session_state.upload.on_change:
13
+
14
+ results, title = inference(st.session_state.url,st.session_state.upload)
15
 
16
  st.subheader(title)
17