File size: 371 Bytes
caf57e7 40f7988 0a4ef0e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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)
|