segestic commited on
Commit
13dd4d6
·
1 Parent(s): 9a26ba4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -79,14 +79,21 @@ def app():
79
  for x, element in enumerate(output):
80
  user_output = st.text_area(label="", value=output[x], height=150 )
81
 
82
-
83
- hide_menu_style = """
 
 
 
 
 
 
84
  <style>
85
- #MainMenu {visibility: hidden;}
86
  </style>
87
  """
88
- #st.markdown(hide_menu_style, unsafe_allow_html=True)
 
89
 
90
  if __name__ == '__main__':
91
  app()
92
- st.markdown(hide_menu_style, unsafe_allow_html=True)
 
79
  for x, element in enumerate(output):
80
  user_output = st.text_area(label="", value=output[x], height=150 )
81
 
82
+ # st.markdown(
83
+ # '''<style>
84
+ # #MainMenu{visibility: hidden;} footer{visibility: hidden;}
85
+ # #root>div:nth-child(1)>div>div>div>div>section>div{padding-top: .2rem;
86
+ # </style>''', unsafe_allow_html=True
87
+ # )
88
+
89
+ hide_main_and_footer_style = """
90
  <style>
91
+ #MainMenu {visibility: hidden;} footer{visibility: hidden;}
92
  </style>
93
  """
94
+
95
+ st.markdown(hide_main_and_footer_style, unsafe_allow_html=True)
96
 
97
  if __name__ == '__main__':
98
  app()
99
+