Ibrahim Olanigan commited on
Commit
5b15a61
·
1 Parent(s): a6977e0

Fixed state

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def init_state():
24
  st.session_state[AUDIO_EXISTS] = False
25
  st.session_state[TRANSCRIPT_EXISTS] = False
26
 
27
- if URL in st.session_state or not st.session_state[URL]:
28
  clear_old_files()
29
 
30
  def clear_old_files():
 
24
  st.session_state[AUDIO_EXISTS] = False
25
  st.session_state[TRANSCRIPT_EXISTS] = False
26
 
27
+ if URL not in st.session_state or not st.session_state[URL]:
28
  clear_old_files()
29
 
30
  def clear_old_files():