TaahKay commited on
Commit
15546f2
·
verified ·
1 Parent(s): 0d27cea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,10 +21,10 @@ initialize_session_state()
21
 
22
  # Load models once
23
  if 'classifier' not in st.session_state:
24
- with st.spinner(Loading SpeechBrain model..."):
25
  st.session_state.classifier = load_accent_model()
26
  if 'whisper' not in st.session_state:
27
- with st.spinner(Loading Whisper model..."):
28
  st.session_state.whisper = load_whisper()
29
 
30
  # Memory info
 
21
 
22
  # Load models once
23
  if 'classifier' not in st.session_state:
24
+ with st.spinner("Loading SpeechBrain model..."):
25
  st.session_state.classifier = load_accent_model()
26
  if 'whisper' not in st.session_state:
27
+ with st.spinner("Loading Whisper model..."):
28
  st.session_state.whisper = load_whisper()
29
 
30
  # Memory info