Update pages/1_Earnings_Sentiment_Analysis_π_.py
Browse files
pages/1_Earnings_Sentiment_Analysis_π_.py
CHANGED
|
@@ -24,6 +24,8 @@ try:
|
|
| 24 |
if st.session_state['url'] is not None or st.session_state['upload'] is not None:
|
| 25 |
|
| 26 |
results, title = inference(st.session_state.url,st.session_state.upload,asr_model)
|
|
|
|
|
|
|
| 27 |
|
| 28 |
st.subheader(title)
|
| 29 |
|
|
@@ -38,7 +40,7 @@ try:
|
|
| 38 |
with st.expander("See Transcribed Earnings Text"):
|
| 39 |
st.write(f"Number of Sentences: {len(earnings_sentences)}")
|
| 40 |
|
| 41 |
-
st.write(earnings_passages)
|
| 42 |
|
| 43 |
|
| 44 |
## Save to a dataframe for ease of visualization
|
|
|
|
| 24 |
if st.session_state['url'] is not None or st.session_state['upload'] is not None:
|
| 25 |
|
| 26 |
results, title = inference(st.session_state.url,st.session_state.upload,asr_model)
|
| 27 |
+
|
| 28 |
+
print(f'results, page1: {results}')
|
| 29 |
|
| 30 |
st.subheader(title)
|
| 31 |
|
|
|
|
| 40 |
with st.expander("See Transcribed Earnings Text"):
|
| 41 |
st.write(f"Number of Sentences: {len(earnings_sentences)}")
|
| 42 |
|
| 43 |
+
st.write(st.session_state['earnings_passages'])
|
| 44 |
|
| 45 |
|
| 46 |
## Save to a dataframe for ease of visualization
|