Update 01_π _Home.py
Browse files- 01_π _Home.py +4 -5
01_π _Home.py
CHANGED
@@ -17,11 +17,13 @@ nltk.download('punkt')
|
|
17 |
|
18 |
from nltk import sent_tokenize
|
19 |
|
20 |
-
os.system('pip install -e ./sentence-transformers')
|
21 |
-
|
22 |
st.sidebar.header("Home")
|
23 |
|
24 |
asr_model_options = ['base.en','small.en']
|
|
|
|
|
|
|
|
|
25 |
asr_model_name = st.sidebar.selectbox("Whisper Model Options", options=asr_model_options, key='sbox')
|
26 |
|
27 |
st.markdown("## Earnings Call Analysis Whisperer")
|
@@ -38,9 +40,6 @@ st.markdown(
|
|
38 |
|
39 |
"""
|
40 |
)
|
41 |
-
|
42 |
-
if 'sbox' not in st.session_state:
|
43 |
-
st.session_state.sbox = 'base.en'
|
44 |
|
45 |
if "url" not in st.session_state:
|
46 |
st.session_state.url = "https://www.youtube.com/watch?v=iWobmXvCM0c"
|
|
|
17 |
|
18 |
from nltk import sent_tokenize
|
19 |
|
|
|
|
|
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, key='sbox')
|
28 |
|
29 |
st.markdown("## Earnings Call Analysis Whisperer")
|
|
|
40 |
|
41 |
"""
|
42 |
)
|
|
|
|
|
|
|
43 |
|
44 |
if "url" not in st.session_state:
|
45 |
st.session_state.url = "https://www.youtube.com/watch?v=iWobmXvCM0c"
|