Skip to content

Commit

Permalink
remove banner
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhou committed Mar 28, 2024
1 parent 8aafcf1 commit d3ba89a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions code/Home.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ def _get_urls():
data = json.load(f)

return data['behavior'], data['ephys']

def add_caution():
behavior_url, ephys_url = _get_urls()
st.markdown('##### ***:blue[❗️Caution: Due to bugs and resource limitations of the Streamlit public cloud, the app you are currently viewing may be unstable and buggy 🐞. '
f'It is recommended that you switch to [the one in Code Ocean]({behavior_url}) instead. '
'However, you will need to log in to Code Ocean first. Please contact David if you have any questions. '
f'See also [the ephys browser in Code Ocean]({ephys_url}) '
'(recommended) and [the one on the public cloud](https://foraging-ephys-browser.streamlit.app/)]***')

@st.cache_data(ttl=24*3600)
def load_data(tables=['sessions']):
Expand Down Expand Up @@ -540,8 +532,6 @@ def app():
with cols[0]:
st.markdown('## 🌳🪴 Foraging sessions from Bonsai 🌳🪴')
st.markdown('##### (still using a temporary workaround until AIND behavior metadata and pipeline are set up)')
with cols[1]:
add_caution()

with st.sidebar:

Expand Down

0 comments on commit d3ba89a

Please sign in to comment.