czyoung commited on
Commit
c3f8543
·
verified ·
1 Parent(s): 320f84b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -384,8 +384,10 @@ else:
384
  st.session_state.summaries[i] = {}
385
  speakerNames = annotations.labels()
386
  st.session_state.unusedSpeakers[i] = speakerNames
387
- with st.spinner(text=f'Analyzing File {i+1} of {totalFiles}'):
388
- analyze(file_names[i])
 
 
389
  st.success(f"Took {time.time() - start_time} seconds to analyze {totalFiles} files!")
390
 
391
  currFile = st.sidebar.selectbox('Current File', file_names,on_change=updateMultiSelect,key="select_currFile")
 
384
  st.session_state.summaries[i] = {}
385
  speakerNames = annotations.labels()
386
  st.session_state.unusedSpeakers[i] = speakerNames
387
+ print(f"Finished processing {file_paths[i]}")
388
+ with st.spinner(text=f'Analyzing File {i+1} of {totalFiles}'):
389
+ analyze(file_names[i])
390
+ print(f"Finished analyzing {file_paths[i]}")
391
  st.success(f"Took {time.time() - start_time} seconds to analyze {totalFiles} files!")
392
 
393
  currFile = st.sidebar.selectbox('Current File', file_names,on_change=updateMultiSelect,key="select_currFile")