czyoung commited on
Commit
c56a9e1
·
verified ·
1 Parent(s): 8f405f4

Removed shortcut for already analyzed files

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -565,8 +565,9 @@ if st.session_state.analyzeAllToggle == True:
565
  printV(f'On {i} : {fname}',4)
566
  fpath = file_paths_dict.get(fname, "")
567
  printV(f'Path : {fpath}',4)
568
- if fname in st.session_state.results and fname in st.session_state.summaries and len(st.session_state.results[fname]) > 0:
569
- continue
 
570
  if fpath.lower().endswith('.txt'):
571
  with st.spinner(text=f'Loading Demo File {i+1} of {totalFiles}'):
572
  speakerList, annotations = su.loadAudioTXT(fpath)
 
565
  printV(f'On {i} : {fname}',4)
566
  fpath = file_paths_dict.get(fname, "")
567
  printV(f'Path : {fpath}',4)
568
+ # TODO: Fix shortcut for already analyzed files here
569
+ #if fname in st.session_state.results and fname in st.session_state.summaries and len(st.session_state.results[fname]) > 0:
570
+ #continue
571
  if fpath.lower().endswith('.txt'):
572
  with st.spinner(text=f'Loading Demo File {i+1} of {totalFiles}'):
573
  speakerList, annotations = su.loadAudioTXT(fpath)