Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Removed shortcut for already analyzed files
Browse files
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 |
-
|
| 569 |
-
|
|
|
|
| 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)
|