Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -290,8 +290,9 @@ if st.session_state.get('WhisperModel') != "WhisperModelAlreadyLoaded":
|
|
290 |
|
291 |
st.session_state['WhisperModel'] = "WhisperModelAlreadyLoaded"
|
292 |
st.write("st.session_state.get('WhisperModel'): ", st.session_state.get('WhisperModel'))
|
|
|
293 |
|
294 |
-
|
295 |
|
296 |
|
297 |
# USING:
|
|
|
290 |
|
291 |
st.session_state['WhisperModel'] = "WhisperModelAlreadyLoaded"
|
292 |
st.write("st.session_state.get('WhisperModel'): ", st.session_state.get('WhisperModel'))
|
293 |
+
st.session_state['WModel'] = model
|
294 |
|
295 |
+
model = st.session_state.get('WModel')
|
296 |
|
297 |
|
298 |
# USING:
|