nickmuchi commited on
Commit
979d3c4
β€’
1 Parent(s): ddcf049

Update 01_🏠_Home.py

Browse files
Files changed (1) hide show
  1. 01_🏠_Home.py +9 -2
01_🏠_Home.py CHANGED
@@ -13,6 +13,8 @@ from sentence_transformers import SentenceTransformer, CrossEncoder, util
13
  import streamlit as st
14
  import en_core_web_lg
15
 
 
 
16
  nltk.download('punkt')
17
 
18
  from nltk import sent_tokenize
@@ -24,6 +26,10 @@ st.set_page_config(
24
  )
25
 
26
  st.sidebar.header("Home")
 
 
 
 
27
  st.markdown("## Earnings Call Analysis Whisperer")
28
 
29
  st.markdown(
@@ -42,6 +48,9 @@ st.markdown(
42
  if "url" not in st.session_state:
43
  st.session_state.url = ''
44
 
 
 
 
45
  if "earnings_passages" not in st.session_state:
46
  st.session_state["earnings_passages"] = ''
47
 
@@ -61,5 +70,3 @@ upload_wav = st.file_uploader("Upload a .wav sound file ",key="upload")
61
  auth_token = os.environ.get("auth_token")
62
 
63
  st.markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=nickmuchi-earnings-call-whisperer)")
64
-
65
- from functions import *
 
13
  import streamlit as st
14
  import en_core_web_lg
15
 
16
+ from functions import *
17
+
18
  nltk.download('punkt')
19
 
20
  from nltk import sent_tokenize
 
26
  )
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
+
33
  st.markdown("## Earnings Call Analysis Whisperer")
34
 
35
  st.markdown(
 
48
  if "url" not in st.session_state:
49
  st.session_state.url = ''
50
 
51
+ if 'sbox' not in st.session_state:
52
+ st.session_state.sbox = ''
53
+
54
  if "earnings_passages" not in st.session_state:
55
  st.session_state["earnings_passages"] = ''
56
 
 
70
  auth_token = os.environ.get("auth_token")
71
 
72
  st.markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=nickmuchi-earnings-call-whisperer)")