Update 01_π _Home.py
Browse files- 01_π _Home.py +3 -5
01_π _Home.py
CHANGED
|
@@ -20,14 +20,9 @@ from nltk import sent_tokenize
|
|
| 20 |
st.sidebar.header("Home")
|
| 21 |
|
| 22 |
asr_model_options = ['base.en','small.en']
|
| 23 |
-
|
| 24 |
-
if 'sbox' not in st.session_state:
|
| 25 |
-
st.session_state.sbox = ''
|
| 26 |
|
| 27 |
asr_model_name = st.sidebar.selectbox("Whisper Model Options", options=asr_model_options)
|
| 28 |
|
| 29 |
-
st.session_state.sbox = asr_model_name
|
| 30 |
-
|
| 31 |
st.markdown("## Earnings Call Analysis Whisperer")
|
| 32 |
|
| 33 |
st.markdown(
|
|
@@ -42,6 +37,9 @@ st.markdown(
|
|
| 42 |
|
| 43 |
"""
|
| 44 |
)
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
if "url" not in st.session_state:
|
| 47 |
st.session_state.url = "https://www.youtube.com/watch?v=iWobmXvCM0c"
|
|
|
|
| 20 |
st.sidebar.header("Home")
|
| 21 |
|
| 22 |
asr_model_options = ['base.en','small.en']
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
asr_model_name = st.sidebar.selectbox("Whisper Model Options", options=asr_model_options)
|
| 25 |
|
|
|
|
|
|
|
| 26 |
st.markdown("## Earnings Call Analysis Whisperer")
|
| 27 |
|
| 28 |
st.markdown(
|
|
|
|
| 37 |
|
| 38 |
"""
|
| 39 |
)
|
| 40 |
+
|
| 41 |
+
if 'sbox' not in st.session_state:
|
| 42 |
+
st.session_state.sbox = asr_model_name
|
| 43 |
|
| 44 |
if "url" not in st.session_state:
|
| 45 |
st.session_state.url = "https://www.youtube.com/watch?v=iWobmXvCM0c"
|