subsai icon indicating copy to clipboard operation
subsai copied to clipboard

KeyError?

Open mimbimbo opened this issue 1 year ago • 3 comments

I managed to get everything installed but now I'm getting this error when I press export:

KeyError: 'st.session_state has no key "transcribed_subs". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'

Any idea on how to proceed? Thanks! @abdeladim-s

mimbimbo avatar Jul 16 '23 03:07 mimbimbo

@mimbimbo, Great to hear that you've successfully installed the project.

Regarding the issue, Did you click export before transcribing anything ? Could you please describe your workflow so I can spot the source of the problem ?

absadiki avatar Jul 16 '23 16:07 absadiki

Today, I got the same error. It is in fact because I didn't click the transcribe button before exporting the subtitles.

kamack38 avatar Jan 04 '24 15:01 kamack38

Thanks @kamack38 for letting me know. I've tried to catch the exception and show an error message instead.

absadiki avatar Jan 04 '24 23:01 absadiki