DrDominikDellermann
commited on
Commit
β’
1521e2b
1
Parent(s):
f360972
Rename pages/2_Earnings_Summarization_π_.py to pages/2_Interview_Summarization_π_.py
Browse files
pages/{2_Earnings_Summarization_π_.py β 2_Interview_Summarization_π_.py}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from functions import *
|
3 |
|
4 |
-
|
5 |
st.sidebar.header("Summarization")
|
6 |
|
7 |
max_len= st.slider("Maximum length of the summarized text",min_value=70,max_value=200,step=10,value=100)
|
@@ -9,7 +9,7 @@ min_len= st.slider("Minimum length of the summarized text",min_value=20,max_valu
|
|
9 |
|
10 |
st.markdown("####")
|
11 |
|
12 |
-
st.subheader("Summarized
|
13 |
|
14 |
if "earnings_passages" not in st.session_state:
|
15 |
st.session_state["earnings_passages"] = ''
|
@@ -39,7 +39,7 @@ if st.session_state['earnings_passages']:
|
|
39 |
entity_match_html = highlight_entities(text_to_summarize,summarized_text)
|
40 |
st.markdown("####")
|
41 |
|
42 |
-
with st.expander(label='Summarized
|
43 |
st.write(entity_match_html, unsafe_allow_html=True)
|
44 |
|
45 |
st.markdown("####")
|
|
|
1 |
import streamlit as st
|
2 |
from functions import *
|
3 |
|
4 |
+
st.set_page_config(page_title="Interview Summarization", page_icon="π")
|
5 |
st.sidebar.header("Summarization")
|
6 |
|
7 |
max_len= st.slider("Maximum length of the summarized text",min_value=70,max_value=200,step=10,value=100)
|
|
|
9 |
|
10 |
st.markdown("####")
|
11 |
|
12 |
+
st.subheader("Summarized Interview with matched Entities")
|
13 |
|
14 |
if "earnings_passages" not in st.session_state:
|
15 |
st.session_state["earnings_passages"] = ''
|
|
|
39 |
entity_match_html = highlight_entities(text_to_summarize,summarized_text)
|
40 |
st.markdown("####")
|
41 |
|
42 |
+
with st.expander(label='Summarized Interview',expanded=True):
|
43 |
st.write(entity_match_html, unsafe_allow_html=True)
|
44 |
|
45 |
st.markdown("####")
|