From d3ba89aac2e8ed22a61d7a4634d2ce4ec799c4bd Mon Sep 17 00:00:00 2001 From: "houhan@gmail.com" Date: Thu, 28 Mar 2024 16:20:44 +0000 Subject: [PATCH] remove banner --- code/Home.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/Home.py b/code/Home.py index af28d1f..34f28b7 100644 --- a/code/Home.py +++ b/code/Home.py @@ -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']): @@ -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: