Update 01_π _Home.py
Browse files- 01_π _Home.py +6 -6
01_π _Home.py
CHANGED
@@ -27,9 +27,6 @@ st.set_page_config(
|
|
27 |
|
28 |
st.sidebar.header("Home")
|
29 |
|
30 |
-
if 'sbox' not in st.session_state:
|
31 |
-
st.session_state.sbox = ''
|
32 |
-
|
33 |
asr_model_options = ['base','small']
|
34 |
asr_model_name = st.sidebar.selectbox("Whisper Model", options=asr_model_options, key='sbox')
|
35 |
|
@@ -48,8 +45,11 @@ st.markdown(
|
|
48 |
"""
|
49 |
)
|
50 |
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
53 |
|
54 |
if "earnings_passages" not in st.session_state:
|
55 |
st.session_state["earnings_passages"] = ''
|
@@ -58,7 +58,7 @@ if "sen_df" not in st.session_state:
|
|
58 |
st.session_state['sen_df'] = ''
|
59 |
|
60 |
url_input = st.text_input(
|
61 |
-
label="Enter YouTube URL, example below is Amazon Earnings Call 2021
|
62 |
|
63 |
st.markdown(
|
64 |
"<h3 style='text-align: center; color: red;'>OR</h3>",
|
|
|
27 |
|
28 |
st.sidebar.header("Home")
|
29 |
|
|
|
|
|
|
|
30 |
asr_model_options = ['base','small']
|
31 |
asr_model_name = st.sidebar.selectbox("Whisper Model", options=asr_model_options, key='sbox')
|
32 |
|
|
|
45 |
"""
|
46 |
)
|
47 |
|
48 |
+
if 'sbox' not in st.session_state:
|
49 |
+
st.session_state.sbox = ''
|
50 |
+
|
51 |
+
if "url" not in st.session_state:
|
52 |
+
st.session_state.url = "https://www.youtube.com/watch?v=8pmbScvyfeY"
|
53 |
|
54 |
if "earnings_passages" not in st.session_state:
|
55 |
st.session_state["earnings_passages"] = ''
|
|
|
58 |
st.session_state['sen_df'] = ''
|
59 |
|
60 |
url_input = st.text_input(
|
61 |
+
label="Enter YouTube URL, example below is Amazon Earnings Call 2021" , value=st.session_state.url, key="url")
|
62 |
|
63 |
st.markdown(
|
64 |
"<h3 style='text-align: center; color: red;'>OR</h3>",
|