Earnings-Call-Analysis-Whisperer / pages /1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py
nickmuchi's picture
Update pages/1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py
0a4ef0e
raw
history blame
371 Bytes
import streamlit as st
st.set_page_config(page_title="Earnings Sentiment Analysis", page_icon="πŸ“ˆ")
st.sidebar.header("Sentiment Analysis")
st.markdown("## Earnings Sentiment Analysis with FinBert-Tone")
results, title = inference(url)
st.subheader(title)
earnings_passages = results['text']
with open('earnings.txt','w') as f:
f.write(earnings_passages)