Earnings-Call-Analysis-Whisperer / pages /1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py
nickmuchi's picture
Update pages/1_Earnings_Sentiment_Analysis_πŸ“ˆ_.py
49daae2
raw
history blame
389 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_input,upload_wav)
st.subheader(title)
earnings_passages = results['text']
with open('earnings.txt','w') as f:
f.write(earnings_passages)