Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,8 @@ if st.session_state.transcription:
|
|
| 113 |
|
| 114 |
else:
|
| 115 |
st.warning("Could not determine accent.")
|
| 116 |
-
|
|
|
|
| 117 |
except Exception as e:
|
| 118 |
st.error("Failed to analyze accent.")
|
| 119 |
st.code(str(e))
|
|
|
|
| 113 |
|
| 114 |
else:
|
| 115 |
st.warning("Could not determine accent.")
|
| 116 |
+
|
| 117 |
+
unload_model(st.session_state.classifier)
|
| 118 |
except Exception as e:
|
| 119 |
st.error("Failed to analyze accent.")
|
| 120 |
st.code(str(e))
|