Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumitti committed Dec 11, 2024
1 parent 46204e8 commit fddc516
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions TFinder-v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,20 @@ def load_lottiefile(filepath: str):
f" - TFinder on [Health Universe](https://www.healthuniverse.com/): [https://apps.healthuniverse.com/nhu-dxv-ktj](https://apps.healthuniverse.com/nhu-dxv-ktj)\n"
f" - (BETA) TFinder: [https://tfinder-beta.streamlit.app/](https://tfinder-beta.streamlit.app/)\n")

if 'LOCAL' not in st.session_state:
local_test = platform.processor()
print("Platform:", local_test)
if local_test == "":
st.session_state["LOCAL"] = 'False'
else:
st.session_state["LOCAL"] = 'True'

if st.session_state["LOCAL"] == 'False':
if st.secrets["message_from_god"] != "":
st.warning(st.secrets["message_from_god"])
if st.secrets['ncbi_error'] == "True":
st.error("⚠ NCBI server maintenance, problems and slowdowns may be observed")

if chosen_tab == HOME:
home_page()

Expand All @@ -145,20 +159,6 @@ def load_lottiefile(filepath: str):
st.markdown('#')
st.markdown(footer, unsafe_allow_html=True)

if 'LOCAL' not in st.session_state:
local_test = platform.processor()
print("Platform:", local_test)
if local_test == "":
st.session_state["LOCAL"] = 'False'
else:
st.session_state["LOCAL"] = 'True'

if st.session_state["LOCAL"] == 'False':
if st.secrets["message_from_god"] != "":
st.warning(st.secrets["message_from_god"])
if st.secrets['ncbi_error'] == "True":
st.error("⚠ NCBI server maintenance, problems and slowdowns may be observed")

# streamlit_analytics.start_tracking()

# Credit
Expand Down

0 comments on commit fddc516

Please sign in to comment.