Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,8 @@ st.title("English Accent Audio Detector")
|
|
25 |
initialize_session_state()
|
26 |
|
27 |
# Load models once when there is no transcription
|
28 |
-
if
|
29 |
-
|
30 |
-
st.session_state.whisper = load_whisper()
|
31 |
|
32 |
# Memory info
|
33 |
display_memory_once()
|
|
|
25 |
initialize_session_state()
|
26 |
|
27 |
# Load models once when there is no transcription
|
28 |
+
if session_state.trascription:
|
29 |
+
st.session_state.whisper = load_whisper()
|
|
|
30 |
|
31 |
# Memory info
|
32 |
display_memory_once()
|