Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -311,6 +311,7 @@ if "audio" in locals():
|
|
| 311 |
st.write(f'Loading {st.session_state.rttm}')
|
| 312 |
diarization = load_rttm_file(st.session_state.rttm )
|
| 313 |
else:
|
|
|
|
| 314 |
# with ProgressHook() as hook:
|
| 315 |
# diarization = pipeline(audio_, hook=hook)
|
| 316 |
diarization = pipeline(create_audio_stream(audio))
|
|
|
|
| 311 |
st.write(f'Loading {st.session_state.rttm}')
|
| 312 |
diarization = load_rttm_file(st.session_state.rttm )
|
| 313 |
else:
|
| 314 |
+
# make progress hook
|
| 315 |
# with ProgressHook() as hook:
|
| 316 |
# diarization = pipeline(audio_, hook=hook)
|
| 317 |
diarization = pipeline(create_audio_stream(audio))
|