Nazneen Rajani commited on
Commit
73b733e
1 Parent(s): f9596cd

Add button in main panel to collapse side bar

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -129,6 +129,11 @@ if __name__ == "__main__":
129
  img = load_title()
130
  st.sidebar.image(img,width=400)
131
  st.sidebar.warning("Data is not permanently collected or stored from your interactions, but is temporarily cached during usage.")
 
 
 
 
 
132
 
133
  # load model card data
134
  errors = st.sidebar.checkbox("Show Warnings", value=True)
129
  img = load_title()
130
  st.sidebar.image(img,width=400)
131
  st.sidebar.warning("Data is not permanently collected or stored from your interactions, but is temporarily cached during usage.")
132
+ st.markdown('''
133
+ <a href="javascript:document.getElementsByClassName('css-1ydp377 edgvbvh6')[1].click();">
134
+ <img src="./assets/img/info.png" style="width:50px;height:50px;"/>
135
+ </a>
136
+ ''', unsafe_allow_html=True)
137
 
138
  # load model card data
139
  errors = st.sidebar.checkbox("Show Warnings", value=True)