cbensimon HF Staff commited on
Commit
d844008
·
1 Parent(s): 5fe7f18

Remove 'beta' from columns and expander

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -44,7 +44,7 @@ GITHUB_OWNER = "streamlit"
44
 
45
  # Show thumbnails for available themes.
46
  # As html img tags here, so we can add links on them.
47
- cols = st.beta_columns(len(THEMES))
48
  for col, theme in zip(cols, THEMES):
49
 
50
  # Get repo name for this theme (to link to correct deployed app)-
@@ -72,11 +72,11 @@ for col, theme in zip(cols, THEMES):
72
 
73
 
74
  ""
75
- with st.beta_expander("Not loading?"):
76
  st.write(
77
  "You probably played around with themes before and overrode this app's theme. Go to ☰ -> Settings -> Theme and select *Custom Theme*."
78
  )
79
- with st.beta_expander("How can I use this theme in my app?"):
80
  st.write(EXPANDER_TEXT)
81
 
82
  ""
@@ -138,7 +138,7 @@ def draw_all(
138
  )
139
  # st.multiselect("Pick a number", [1, 2, 3], key=key)
140
  # st.color_picker("Colors, colors, colors", key=key)
141
- with st.beta_expander("Expand me!"):
142
  st.write("Hey there! Nothing to see here 👀 ")
143
  st.write("")
144
  # st.write("That's our progress on theming:")
 
44
 
45
  # Show thumbnails for available themes.
46
  # As html img tags here, so we can add links on them.
47
+ cols = st.columns(len(THEMES))
48
  for col, theme in zip(cols, THEMES):
49
 
50
  # Get repo name for this theme (to link to correct deployed app)-
 
72
 
73
 
74
  ""
75
+ with st.expander("Not loading?"):
76
  st.write(
77
  "You probably played around with themes before and overrode this app's theme. Go to ☰ -> Settings -> Theme and select *Custom Theme*."
78
  )
79
+ with st.expander("How can I use this theme in my app?"):
80
  st.write(EXPANDER_TEXT)
81
 
82
  ""
 
138
  )
139
  # st.multiselect("Pick a number", [1, 2, 3], key=key)
140
  # st.color_picker("Colors, colors, colors", key=key)
141
+ with st.expander("Expand me!"):
142
  st.write("Hey there! Nothing to see here 👀 ")
143
  st.write("")
144
  # st.write("That's our progress on theming:")