Spaces:
Sleeping
Sleeping
Update ✨Entity Linking Application✨.py
Browse files
✨Entity Linking Application✨.py
CHANGED
@@ -508,7 +508,10 @@ def main_cli():
|
|
508 |
ETA = time.strftime("%H:%M:%S", time.gmtime(execution_time))
|
509 |
st.write(f"⌛ Execution time: {ETA}")
|
510 |
|
511 |
-
st.session_state.
|
|
|
|
|
|
|
512 |
|
513 |
# i think this part can be removed now
|
514 |
folder_path = "qids_folder"
|
|
|
508 |
ETA = time.strftime("%H:%M:%S", time.gmtime(execution_time))
|
509 |
st.write(f"⌛ Execution time: {ETA}")
|
510 |
|
511 |
+
if 'run_button' in st.session_state and st.session_state.run_button == True:
|
512 |
+
st.session_state.running = True
|
513 |
+
else:
|
514 |
+
st.session_state.running = False
|
515 |
|
516 |
# i think this part can be removed now
|
517 |
folder_path = "qids_folder"
|